def test_a_strike_is_not_a_spare(self): ''' Strike = True != Spare == True ''' frame = Frame(10, 0) self.assertTrue(frame.is_strike()) self.assertFalse(frame.is_spare())
def test_detects_a_spare_correctly(self): ''' Detects a spare ''' frame = Frame(5, 5) self.assertTrue(frame.is_spare())