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