test.generic.test_collectors module¶
Tests the Collector building blocks to prove validity w.r.t. these tests.
Every test will run a PythonPDEVS simulation on a model. This model will afterwards be analyzed against the expected measures. The model has a general shape of
Generator -> Collector
Note
The pypdevsbbl.generic.collectors.TableCollector will not be tested
in a standalone-way. Its correctness will be evaluated w.r.t. all other
tests that are executed.
See also
-
class
test.generic.test_collectors.TestCollectors(methodName='runTest')[source]¶ Bases:
unittest.case.TestCase-
test_collector()[source]¶ Tests the
pypdevsbbl.generic.collectors.Collector.
-
test_collector_clear()[source]¶ Tests the clearing of the
pypdevsbbl.generic.collectors.Collector.
-
test_estimate_clear()[source]¶ Tests the clearing of the
pypdevsbbl.generic.collectors.EstimateCollector.
-
test_counter_clear()[source]¶ Tests the clearing of the
pypdevsbbl.generic.collectors.EstimateCollector.
-