def test1(self): self.assertEqual(karatsuba.multp("a", "b"), False)
def test18(self): a, b = random.randint(-99, -10), random.randint(-99, -10) self.assertEqual(karatsuba.multp(a, b), a * b)
def test22(self): a, b = random.randint(1000000, 9999999), random.randint(1000000, 9999999) self.assertEqual(karatsuba.multp(a, b), a * b)
def test11(self): a, b = ( random.randint(10000000000000000000000000000, 1000000000000000000000000000000), random.randint(10000000000000000000000000000, 1000000000000000000000000000000), ) self.assertEqual(karatsuba.multp(a, b), a * b)