Beispiel #1
0
 def test_twenty_third_calculation2(self):
     F = Formulas("ada84вм")
     res = F.calculation_2()
     self.assertEqual(res, "Error")
Beispiel #2
0
 def test_sixth_calculation2(self):
     F = Formulas(1000)
     res = F.calculation_2()
     self.assertEqual(res, 3771705873.0)
Beispiel #3
0
 def test_twenty_second_calculation2(self):
     F = Formulas("sd484")
     res = F.calculation_2()
     self.assertEqual(res, "Error")
Beispiel #4
0
 def test_twenty_ninth_calculation2(self):
     F = Formulas("511`  `")
     res = F.calculation_2()
     self.assertEqual(res, "Error")
Beispiel #5
0
 def test_fourth_calculation2(self):
     F = Formulas(-5)
     res = F.calculation_2()
     self.assertEqual(res, -548.565)
Beispiel #6
0
 def test_third_calculation2(self):
     F = Formulas(0)
     res = F.calculation_2()
     self.assertEqual(res, 0.0)
Beispiel #7
0
 def test_twenty_seventh_calculation2(self):
     F = Formulas("*5+a4сі")
     res = F.calculation_2()
     self.assertEqual(res, "Error")
Beispiel #8
0
 def test_twelfth_calculation2(self):
     F = Formulas("151")
     res = F.calculation_2()
     self.assertEqual(res, "Error")
Beispiel #9
0
 def test_fifteenth_calculation2(self):
     F = Formulas("k0771+")
     res = F.calculation_2()
     self.assertEqual(res, "Error")
Beispiel #10
0
 def test_tenth_calculation2(self):
     F = Formulas(300)
     res = F.calculation_2()
     self.assertEqual(res, 101692341.9)
Beispiel #11
0
 def test_eleventh_calculation2(self):
     F = Formulas("x")
     res = F.calculation_2()
     self.assertEqual(res, "Error")
Beispiel #12
0
 def test_ninth_calculation2(self):
     F = Formulas(200)
     res = F.calculation_2()
     self.assertEqual(res, 30100854.6)
Beispiel #13
0
 def test_eighth_calculation2(self):
     F = Formulas(192.359)
     res = F.calculation_2()
     self.assertEqual(res, 26777781.43704989)
Beispiel #14
0
 def test_seventh_calculation2(self):
     F = Formulas(199)
     res = F.calculation_2()
     self.assertEqual(res, 29651148.255000003)
Beispiel #15
0
 def test_twenty_fourth_calculation2(self):
     F = Formulas("фвісы2ыс15")
     res = F.calculation_2()
     self.assertEqual(res, "Error")
Beispiel #16
0
 def test_second_calculation2(self):
     F = Formulas(0.1)
     res = F.calculation_2()
     self.assertEqual(res, 0.36809400000000003)
Beispiel #17
0
 def test_twenty_fifth_calculation2(self):
     F = Formulas("48увсdv84")
     res = F.calculation_2()
     self.assertEqual(res, "Error")
Beispiel #18
0
 def test_eighteenth_calculation2(self):
     F = Formulas("98u")
     res = F.calculation_2()
     self.assertEqual(res, "Error")
Beispiel #19
0
 def test_twenty_sixth_calculation2(self):
     F = Formulas("lka462")
     res = F.calculation_2()
     self.assertEqual(res, "Error")
Beispiel #20
0
 def test_nineteenth_calculation2(self):
     F = Formulas("  `")
     res = F.calculation_2()
     self.assertEqual(res, "Error")
Beispiel #21
0
 def test_twenty_eighth_calculation2(self):
     F = Formulas("9a4841ccd8u")
     res = F.calculation_2()
     self.assertEqual(res, "Error")
Beispiel #22
0
 def test_twentieth_calculation_2(self):
     F = Formulas("/74k")
     res = F.calculation_2()
     self.assertEqual(res, "Error")
Beispiel #23
0
 def test_thirtieth_calculation2(self):
     F = Formulas("/74dac826k")
     res = F.calculation_2()
     self.assertEqual(res, "Error")
Beispiel #24
0
 def test_twenty_first_calculation2(self):
     F = Formulas("одisd")
     res = F.calculation_2()
     self.assertEqual(res, "Error")
Beispiel #25
0
 def test_fifth_calculation2(self):
     F = Formulas(-200)
     res = F.calculation_2()
     self.assertEqual(res, -30284694.6)
Beispiel #26
0
 def test_first_calculation2(self):
     F = Formulas(1)
     res = F.calculation_2()
     self.assertEqual(res, 5.349)