def test_answer_07(self): secret = "1122" guess = "0001" result = "0A1B" self.assertEqual(Solution().getHint(secret, guess), result)
def test_answer_05(self): secret = "11" guess = "10" result = "1A0B" self.assertEqual(Solution().getHint(secret, guess), result)
def test_answer_06(self): secret = "1123" guess = "0111" result = "1A1B" self.assertEqual(Solution().getHint(secret, guess), result)
def test_answer_01(self): secret = "1807" guess = "7810" result = "1A3B" self.assertEqual(Solution().getHint(secret, guess), result)