def test_constructor(self): """ Test constructor. """ tstep = TimeStep() tstep._configure() return
def test_preinitialize(self): """ Test preinitialize(). """ tstep = TimeStep() tstep._configure() tstep.preinitialize() return
def test_verifyConfiguration(self): """ Test verifyConfiguration(). """ tstep = TimeStep() tstep._configure() tstep.preinitialize() tstep.verifyConfiguration() return
def setUp(self): from spatialdata.units.Nondimensional import Nondimensional normalizer = Nondimensional() normalizer._configure() normalizer.setTimeScale(2.0 * second) tstep = TimeStep() tstep._configure() tstep.preinitialize() tstep.initialize(normalizer) self.tstep = tstep return
def setUp(self): from spatialdata.units.Nondimensional import Nondimensional normalizer = Nondimensional() normalizer._configure() normalizer.setTimeScale(2.0*second) tstep = TimeStep() tstep._configure() tstep.preinitialize() tstep.initialize(normalizer) self.tstep = tstep return