Esempio n. 1
0
 def test_matches_body_part_mismatch(self):
     first = Professor('lower', 'blue')
     second = Professor('lower', 'blue')
     self.assertFalse(first.matches(second))
Esempio n. 2
0
 def test_matches_color_mismatch(self):
     first = Professor('upper', 'purple')
     second = Professor('lower', 'blue')
     self.assertFalse(first.matches(second))
Esempio n. 3
0
 def test_matches(self):
     first = Professor('upper', 'blue')
     second = Professor('lower', 'blue')
     self.assertTrue(first.matches(second))