def test_reset(self): watch = StopWatch() time.sleep(0.1) watch.reset() self.assertLess(watch.get(), 0.001)