def test_sixth_calculation1(self): F = Formulas(1000) res = F.calculation_1() self.assertEqual(res, 1557856753851.0)
def test_thirteenth_calculation4(self): F = Formulas("0-") res = F.calculation_4() self.assertEqual(res, "Error")
def test_second_calculation2(self): F = Formulas(0.1) res = F.calculation_2() self.assertEqual(res, 0.553948)
def test_tenth_calculation4(self): F = Formulas(300) res = F.calculation_4() self.assertEqual(res, 1294.2)
def test_twelfth_calculation4(self): F = Formulas("151") res = F.calculation_4() self.assertEqual(res, "Error")
def test_tenth_calculation1(self): F = Formulas(300) res = F.calculation_1() self.assertEqual(res, 12691391235.3)
def test_tenth_calculation3(self): F = Formulas(300) res = F.calculation_3() self.assertEqual(res, 176391.6)
def test_seventh_calculation3(self): F = Formulas(199) res = F.calculation_3() self.assertEqual(res, 77853.57599999999)
def test_seventh_calculation4(self): F = Formulas(199) res = F.calculation_4() self.assertEqual(res, 858.486)
def test_seventh_calculation1(self): F = Formulas(199) res = F.calculation_1() self.assertEqual(res, 2467366295.196)
def test_seventh_calculation2(self): F = Formulas(199) res = F.calculation_2() self.assertEqual(res, 19605494.527000003)
def test_sixth_calculation4(self): F = Formulas(1000) res = F.calculation_4() self.assertEqual(res, 4314.0)
def test_sixth_calculation3(self): F = Formulas(1000) res = F.calculation_3() self.assertEqual(res, 1951572.0)
def test_sixth_calculation2(self): F = Formulas(1000) res = F.calculation_2() self.assertEqual(res, 2495950720.0)
def test_ninth_calculation3(self): F = Formulas(200) res = F.calculation_3() self.assertEqual(res, 78634.4)
def test_eighth_calculation1(self): F = Formulas(192.359) res = F.calculation_1() self.assertEqual(res, 2155038503.593075)
def test_ninth_calculation4(self): F = Formulas(200) res = F.calculation_4() self.assertEqual(res, 862.8)
def test_first_calculation3(self): F = Formulas(1) res = F.calculation_3() self.assertEqual(res, 5.52)
def test_tenth_calculation2(self): F = Formulas(300) res = F.calculation_2() self.assertEqual(res, 67262766.0)
def test_eighth_calculation2(self): F = Formulas(192.359) res = F.calculation_2() self.assertEqual(res, 17704987.909240797)
def test_first_calculation4(self): F = Formulas(1) res = F.calculation_4() self.assertEqual(res, 4.314)
def test_eighth_calculation3(self): F = Formulas(192.359) res = F.calculation_3() self.assertEqual(res, 72766.972896188)
def test_eleventh_calculation4(self): F = Formulas("x") res = F.calculation_4() self.assertEqual(res, "Error")
def test_eighth_calculation4(self): F = Formulas(192.359) res = F.calculation_4() self.assertEqual(res, 829.836726)
def test_second_calculation1(self): F = Formulas(0.1) res = F.calculation_1() self.assertEqual(res, 0.16663440000000002)
def test_ninth_calculation1(self): F = Formulas(200) res = F.calculation_1() self.assertEqual(res, 2517182450.2)
def test_fourteenth_calculation3(self): F = Formulas("=1") res = F.calculation_3() self.assertEqual(res, "Error")
def test_ninth_calculation2(self): F = Formulas(200) res = F.calculation_2() self.assertEqual(res, 19902944.0)
def test_fifteenth_calculation4(self): F = Formulas("k0771+") res = F.calculation_4() self.assertEqual(res, "Error")
def test_fifth_calculation4(self): F = Formulas(-200) res = F.calculation_4() self.assertEqual(res, -862.8)