def test_empty_a(self): a = "" b = "111" self.assertEqual(solution.addBinary(a, b), b)
def test_input_1(self): a = "00000" b = "11" self.assertEqual(solution.addBinary(a, b), "00011")
def test_input_2(self): a = "111" b = "11" self.assertEqual(solution.addBinary(a, b), "1010")
def test_empty_b(self): a = "1101010" b = "" self.assertEqual(solution.addBinary(a, b), a)