Compare commits
No commits in common. "dev" and "main" have entirely different histories.
10
main.py
10
main.py
@ -1,10 +0,0 @@
|
||||
print("Main")
|
||||
|
||||
|
||||
# TODO
|
||||
# Create TDBD Simulation Object, passing parameters.
|
||||
# Run TDBD Simulation and obtain observation result.
|
||||
# Create other simulation objects with parameters.
|
||||
# Run other simulation and obtain observation result.
|
||||
|
||||
|
@ -1,8 +0,0 @@
|
||||
import unittest
|
||||
|
||||
loader = unittest.TestLoader()
|
||||
start_dir = "./haocrowd/tests/"
|
||||
suite = loader.discover(start_dir)
|
||||
|
||||
runner = unittest.TextTestRunner(verbosity=2)
|
||||
runner.run(suite)
|
@ -1,8 +0,0 @@
|
||||
import unittest
|
||||
|
||||
loader = unittest.TestLoader()
|
||||
start_dir = "./tests/"
|
||||
suite = loader.discover(start_dir)
|
||||
|
||||
runner = unittest.TextTestRunner(verbosity=2)
|
||||
runner.run(suite)
|
@ -1,17 +0,0 @@
|
||||
import unittest
|
||||
|
||||
from haocrowd.core.base import SimulationBase
|
||||
|
||||
|
||||
class TestHaoCrowd(unittest.TestCase):
|
||||
def test_haocrowd_base(self):
|
||||
class TDBDSim(SimulationBase):
|
||||
def run(self) -> int:
|
||||
return 123
|
||||
|
||||
sim = TDBDSim()
|
||||
self.assertEqual(sim.run(), 123)
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
unittest.main()
|
Loading…
Reference in New Issue
Block a user