def test_lower(self): self.assertEqual(quiz.closer_to(10, 8, 7), 8)
def test_b_closer(self): self.assertEqual(quiz.closer_to(10, 12, 11), 11)
def test_equidistant(self): self.assertEqual(quiz.closer_to(10, 11, 11), 0)
def test_a_closer(self): self.assertEqual(quiz.closer_to(10, 11, 12), 11)