def test_matches_body_part_mismatch(self): first = Professor('lower', 'blue') second = Professor('lower', 'blue') self.assertFalse(first.matches(second))
def test_matches_color_mismatch(self): first = Professor('upper', 'purple') second = Professor('lower', 'blue') self.assertFalse(first.matches(second))
def test_matches(self): first = Professor('upper', 'blue') second = Professor('lower', 'blue') self.assertTrue(first.matches(second))