Package SimPy :: Module MonitorTest :: Class makeTtestCase

[hide private]
[frames] | no frames]

# Class makeTtestCase

source code

           object --+
                    |
    unittest.TestCase --+
                        |
                       makeTtestCase

Test Tally

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. | source code

testObserve(self) Test Tally - observe | source code

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

testtimeAverage(self) test time averages | source code

testtimeVariance(self) test time - weighted Variance for Tally | source code

testreset(self) test time averages | source code

testhistogram(self) Test some Monitor list operations | source code

Inherited from `unittest.TestCase`: `__call__`, `__eq__`, `__hash__`, `__init__`, `__ne__`, `__repr__`, `__str__`, `assertAlmostEqual`, `assertAlmostEquals`, `assertEqual`, `assertEquals`, `assertFalse`, `assertNotAlmostEqual`, `assertNotAlmostEquals`, `assertNotEqual`, `assertNotEquals`, `assertRaises`, `assertTrue`, `assert_`, `countTestCases`, `debug`, `defaultTestResult`, `fail`, `failIf`, `failIfAlmostEqual`, `failIfEqual`, `failUnless`, `failUnlessAlmostEqual`, `failUnlessEqual`, `failUnlessRaises`, `id`, `run`, `shortDescription`, `tearDown`

Inherited from `unittest.TestCase` (private): `_exc_info`

Inherited from `object`: `__delattr__`, `__format__`, `__getattribute__`, `__new__`, `__reduce__`, `__reduce_ex__`, `__setattr__`, `__sizeof__`, `__subclasshook__`

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)