コード例 #1
0
 def test_twenty_fifth_calculation3(self):
     F = Formuls("48увсdv84")
     res = F.formul_3()
     self.assertEqual(res, "Incorrect entry")
コード例 #2
0
 def test_twenty_third_calculation3(self):
     F = Formuls("ada84вм")
     res = F.formul_3()
     self.assertEqual(res, "Incorrect entry")
コード例 #3
0
 def test_twenty_fourth_calculation3(self):
     F = Formuls("фвісы2ыс15")
     res = F.formul_3()
     self.assertEqual(res, "Incorrect entry")
コード例 #4
0
 def test_fourth_calculation3(self):
     F = Formuls(2)
     res = F.formul_3()
     self.assertEqual(res, 10.693999999999999)
コード例 #5
0
 def test_seventh_calculation3(self):
     F = Formuls(199)
     res = F.formul_3()
     self.assertEqual(res, 57555.57600000001)
コード例 #6
0
 def test_third_calculation3(self):
     F = Formuls(0)
     res = F.formul_3()
     self.assertEqual(res, 0.0)
コード例 #7
0
 def test_twenty_ninth_calculation3(self):
     F = Formuls("511`  `")
     res = F.formul_3()
     self.assertEqual(res, "Incorrect entry")
コード例 #8
0
 def test_twelfth_calculation3(self):
     F = Formuls("15dffdff1")
     res = F.formul_3()
     self.assertEqual(res, "Incorrect entry")
コード例 #9
0
 def test_fifteenth_calculation3(self):
     F = Formuls("k0771+")
     res = F.formul_3()
     self.assertEqual(res, "Incorrect entry")
コード例 #10
0
 def test_tenth_calculation3(self):
     F = Formuls(300)
     res = F.formul_3()
     self.assertEqual(res, 130429.5)
コード例 #11
0
 def test_eleventh_calculation3(self):
     F = Formuls("-1")
     res = F.formul_3()
     self.assertEqual(res, NonPositiveIncorrect entry)
コード例 #12
0
 def test_ninth_calculation3(self):
     F = Formuls(200)
     res = F.formul_3()
     self.assertEqual(res, 58133.0)
コード例 #13
0
 def test_eighth_calculation3(self):
     F = Formuls(192.3)
     res = F.formul_3()
     self.assertEqual(res, 53761.17639000001)
コード例 #14
0
 def test_first_calculation3(self):
     F = Formuls(1)
     res = F.formul_3()
     self.assertEqual(res, 3.9059999999999997)
コード例 #15
0
 def test_twenty_sixth_calculation3(self):
     F = Formuls("lka462")
     res = F.formul_3()
     self.assertEqual(res, "Incorrect entry")
コード例 #16
0
 def test_second_calculation3(self):
     F = Formuls(0.1)
     res = F.formul_3()
     self.assertEqual(res, 0.26091)
コード例 #17
0
 def test_twenty_seventh_calculation3(self):
     F = Formuls("*5+a4сі")
     res = F.formul_3()
     self.assertEqual(res, "Incorrect entry")
コード例 #18
0
 def test_eighteenth_calculation3(self):
     F = Formuls("98u")
     res = F.formul_3()
     self.assertEqual(res, "Incorrect entry")
コード例 #19
0
 def test_twenty_eighth_calculation3(self):
     F = Formuls("9a4841ccd8u")
     res = F.formul_3()
     self.assertEqual(res, "Incorrect entry")
コード例 #20
0
 def test_twenty_first_calculation3(self):
     F = Formuls("одisd")
     res = F.formul_3()
     self.assertEqual(res, "Incorrect entry")
コード例 #21
0
 def test_thirtieth_calculation3(self):
     F = Formuls("/74dac826k")
     res = F.formul_3()
     self.assertEqual(res, "Incorrect entry")
コード例 #22
0
 def test_twenty_second_calculation3(self):
     F = Formuls("sd484")
     res = F.formul_3()
     self.assertEqual(res, "Incorrect entry")
コード例 #23
0
 def test_fifth_calculation3(self):
     F = Formuls(58)
     res = F.formul_3()
     self.assertEqual(res, 4990.494000000001)
コード例 #24
0
 def test_sixth_calculation3(self):
     F = Formuls(1000)
     res = F.formul_3()
     self.assertEqual(res, 1443465.0)