Exemple #1
0
 def test_function_neg152(self):
     """ Function 'f' returns "-9385.49829" for input "-15, 2300" """
     self.assertEqual(attempt.f(-15, 2300), -9385.49829)
Exemple #2
0
 def test_function_zero2(self):
     """ Function 'f' returns "-5000.0 for input "0, 5000" """
     self.assertEqual(attempt.f(0, 5000), -5000.0)
 def test_function_neg152(self):
     """ Function 'f' returns "-5.35427" for input "-15" """
     self.assertEqual(attempt.f(-15), -5.35427)
Exemple #4
0
 def test_function_102(self):
     """ Function 'f' returns "6487.21271" for input "10, 10000" """
     self.assertEqual(attempt.f(10, 10000), 6487.21271)
 def test_function_102(self):
     """ Function 'f' returns "-4.17564" for input "10" """
     self.assertEqual(attempt.f(10), -4.17564)