Пример #1
0
 def testOverdraw(self):
     tis = TimeInSeconds("88")
     assert tis.subtractSeconds(100) == -12
     assert tis.inSeconds() == "0"
Пример #2
0
 def testOverdraw(self):
     tis = TimeInSeconds("88")
     assert tis.subtractSeconds(100) == -12
     assert tis.inSeconds() == "0"
Пример #3
0
 def testSubtractSeconds(self):
     tis = TimeInSeconds("99")
     assert tis.subtractSeconds(50) == 49
     assert tis.inSeconds() == "49"
Пример #4
0
 def testSubtractSeconds(self):
     tis = TimeInSeconds("99")
     assert tis.subtractSeconds(50) == 49
     assert tis.inSeconds() == "49"