def test_holds_secondary(self): """ Secondary attributes always matter for .holds. """ slot1 = Slot(4, 5, 1) slot2 = Slot(4, 6, 1) self.assertFalse(slot1.holds(slot2))
def test_holds(self): slot1 = Slot(4, 5, 1) slot2 = Slot(4, 5, 1) self.assertTrue(slot1.holds(slot2))