Package SimPy :: Module MonitorTest :: Class makeMtestCase |
[hide private]
[frames] | no frames]

# Class makeMtestCase

source code

           object --+
                    |
    unittest.TestCase --+
                        |
                       makeMtestCase

Test Monitor

Nested Classes | [hide private]
Inherited from `unittest.TestCase`: `failureException`

Instance Methods | [hide private]
`` | setUp(self) Hook method for setting up the test fixture before exercising it.
`` | testObserve(self) Test Monitor - observe
`` | testObserveNoTime(self) Test Monitor - observe with time being picked up from now()
`` | testObserveTally(self) Test Monitor - observe without time values
`` | testtimeAverage(self) test time averages
`` | testreset(self) test time averages
`` | testTally(self) Test Monitor - tally
`` | testAccumulate(self) Test Monitor - accumulate
`` | testAccumulateInTime(self) Test Monitor - accumulate over simulation time
`` | testListStuff(self) Test some Monitor list operations
`` | testhistogram(self) Test Monitor histogram
Inherited from `unittest.TestCase`: `__call__`, `__init__`, `__repr__`, `__str__`, `assertAlmostEqual`, `assertAlmostEquals`, `assertEqual`, `assertEquals`, `assertNotAlmostEqual`, `assertNotAlmostEquals`, `assertNotEqual`, `assertNotEquals`, `assertRaises`, `assert_`, `countTestCases`, `debug`, `defaultTestResult`, `fail`, `failIf`, `failIfAlmostEqual`, `failIfEqual`, `failUnless`, `failUnlessAlmostEqual`, `failUnlessEqual`, `failUnlessRaises`, `id`, `run`, `shortDescription`, `tearDown` Inherited from `object`: `__delattr__`, `__getattribute__`, `__hash__`, `__new__`, `__reduce__`, `__reduce_ex__`, `__setattr__`

Properties | [hide private]
Inherited from `object`: `__class__`

Method Details | [hide private]

### setUp(self) | source code
Hook method for setting up the test fixture before exercising it. Overrides: unittest.TestCase.setUp (inherited documentation)

### testObserve(self) | source code
Test Monitor - observe

### testObserveNoTime(self) | source code
Test Monitor - observe with time being picked up from now()

### testObserveTally(self) | source code
Test Monitor - observe without time values

### testtimeAverage(self) | source code
test time averages

### testreset(self) | source code
test time averages

### testTally(self) | source code
Test Monitor - tally

### testAccumulate(self) | source code
Test Monitor - accumulate

### testAccumulateInTime(self) | source code
Test Monitor - accumulate over simulation time

### testListStuff(self) | source code
Test some Monitor list operations

### testhistogram(self) | source code
Test Monitor histogram