def test_isValidHair_tooShort(self): self.assertEqual(False, passport.isValidHair("#11111"))
def test_isValidHair_ones(self): self.assertTrue(passport.isValidHair("#111111"))
def test_isValidHair_missingHash(self): self.assertEqual(False, passport.isValidHair("111111"))
def test_isValidHair_knownGood(self): self.assertTrue(passport.isValidHair("#123abc"))
def test_isValidHair_knownBad2(self): self.assertEqual(False, passport.isValidHair("123abc"))
def test_isValidHair_invalidHex(self): self.assertEqual(False, passport.isValidHair("#11111g"))