def test_long_int_times_makes_between_one_and_zero(self): result = lim.long_int_times(FLOAT_SMALL, 1 / FLOAT_BIG) self.assertAlmostEqual(result, 10 ** -200, delta=10 ** -210)
def test_long_int_times_makes_negative_number(self): result = lim.long_int_times(FLOAT_SMALL, -FLOAT_BIG) self.assertAlmostEqual(result, -10 ** 400, delta=10 ** 390)
def test_long_int_times_makes_large_value(self): result = lim.long_int_times(LONG_BIG, FLOAT_BIG) self.assertAlmostEqual(result, 10 ** 1300, delta=10 ** 1290)