예제 #1
0
 def test_isDuring_AfterCommercialReturnsFalse(self):
     commercial = CommercialBreak(100, 200)
     self.assertFalse(commercial.isDuring(350))
예제 #2
0
 def test_isDuring_AfterCommercialReturnsFalse(self):
     commercial = CommercialBreak(100, 200)
     self.assertFalse(commercial.isDuring(350))
예제 #3
0
 def test_isDuring_True(self):
     commercial = CommercialBreak(100, 200)
     self.assertTrue(commercial.isDuring(150))
예제 #4
0
 def test_isDuring_True(self):
     commercial = CommercialBreak(100, 200)
     self.assertTrue(commercial.isDuring(150))