Skip to content

Commit

Permalink
reenable commented-out tests in test_forwardsim.py
Browse files Browse the repository at this point in the history
  • Loading branch information
rileyjmurray committed Feb 7, 2024
1 parent e72dbad commit d2c8d38
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions test/unit/objects/test_forwardsim.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ def Ls(*args):
""" Convert args to a tuple to Labels """
return tuple([L(x) for x in args])

"""

class AbstractForwardSimTester(BaseCase):
# XXX is it really neccessary to test an abstract base class?
def setUp(self):
Expand Down Expand Up @@ -141,7 +141,7 @@ def setUpClass(cls):
super(MapForwardSimTester, cls).setUpClass()
cls.model = cls.model.copy()
cls.model.sim = MapForwardSimulator()
"""


class BaseProtocolData:

Expand Down Expand Up @@ -171,19 +171,19 @@ def _run(self, obj : ForwardSimulator.Castable):
pass

# shared memory forward simulators
# def test_simple_matrix_fwdsim(self):
# self._run(SimpleMatrixForwardSimulator)
def test_simple_matrix_fwdsim(self):
self._run(SimpleMatrixForwardSimulator)

# def test_simple_map_fwdsim(self):
# self._run(SimpleMapForwardSimulator)
def test_simple_map_fwdsim(self):
self._run(SimpleMapForwardSimulator)

def test_torch_fwdsim(self):
self._run(TorchForwardSimulator)

# distributed-memory forward simulators
# def test_map_fwdsim(self):
# self._run(MapForwardSimulator)
def test_map_fwdsim(self):
self._run(MapForwardSimulator)

# def test_matrix_fwdsim(self):
# self._run(MatrixForwardSimulator)
def test_matrix_fwdsim(self):
self._run(MatrixForwardSimulator)

0 comments on commit d2c8d38

Please sign in to comment.