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