

def testStamper(self):
    '\n        Test Stamper Class\n        '
    console.terse('{0}\n'.format(self.testStamper.__doc__))
    stamper = timing.Stamper()
    self.assertEqual(stamper.stamp, 0.0)
    stamper.advanceStamp(0.25)
    self.assertEqual(stamper.stamp, 0.25)
    stamper.advance(0.25)
    self.assertEqual(stamper.stamp, 0.5)
    self.change(1.5)
    self.assertEqual(stamper.stamp, 1.5)

dataset/ETHPy150Open ioflo/ioflo/ioflo/aid/test/test_timing.py BasicTestCase.testStamper/VarMisuse@83/119 `stamper`->`self`