def test_find_slot_with_ending_date2(self): # This tests an infinite loop case delta1 = timedelta(0.25) timeline = Timeline(util.nov1 + delta1) my_slot, containing_slot_index = timeline.find_slot_with_ending_date(util.nov7, 0.1) self.assertEqual(Slot(4.4, 4.5), my_slot) return
def test_find_slot_with_ending_date2(self): # This tests an infinite loop case delta1 = timedelta(0.25) timeline = Timeline(util.nov1 + delta1) my_slot, containing_slot_index = timeline.find_slot_with_ending_date( util.nov7, 0.1) self.assertEqual(Slot(4.4, 4.5), my_slot) return
def test_find_slot_with_ending_date(self): timeline = Timeline(util.nov1) my_slot, containing_slot_index = timeline.find_slot_with_ending_date(util.nov7, 0.1) self.assertEqual(Slot(4.4, 4.5), my_slot) return
def test_find_slot_with_ending_date(self): timeline = Timeline(util.nov1) my_slot, containing_slot_index = timeline.find_slot_with_ending_date( util.nov7, 0.1) self.assertEqual(Slot(4.4, 4.5), my_slot) return