예제 #1
0
 def test_B_2_6(self):
     self.assertEqual(str(calcStartTimes(self.events, 2, 6)),
                      "[(2, 3), (3, 5)]")
예제 #2
0
 def test_B_5_10(self):
     self.assertEqual(str(calcStartTimes(self.events, 5, 10)),
                      "[(6, 7), (7, 9)]")
예제 #3
0
 def test_B_1_7(self):
     self.assertEqual(str(calcStartTimes(self.events, 1, 7)),
                      "[(1, 2), (2, 3), (3, 5), (6, 7)]")
예제 #4
0
 def test_B_2_8(self):
     self.assertEqual(str(calcStartTimes(self.events, 2, 8)),
                      "[(2, 3), (3, 5), (6, 7)]")
예제 #5
0
 def test_B_0_10(self):
     self.assertEqual(str(calcStartTimes(self.events, 0, 10)),
                      "[(0, 1), (1, 2), (2, 3), (3, 5), (6, 7), (7, 9)]")