Exemple #1
0
 def test_function_neg15(self):
     """ Function 'fdash' returns "118.09164" for input "-15" """
     self.assertEqual(attempt.fdash(-15), 118.09164)
Exemple #2
0
 def test_function_zero(self):
     """ Function 'fdash' returns "1000.0" for input "0" """
     self.assertEqual(attempt.fdash(0), 1000.0)
Exemple #3
0
 def test_function_10(self):
     """ Function 'fdash' returns "2473.08191" for input "10" """
     self.assertEqual(attempt.fdash(10), 2473.08191)
Exemple #4
0
 def test_function_neg15(self):
     """ Function 'fdash' returns "0.279" for input "-15" """
     self.assertEqual(attempt.fdash(-15), 0.279)
Exemple #5
0
 def test_function_10(self):
     """ Function 'fdash' returns "0.22955" for input "10" """
     self.assertEqual(attempt.fdash(10), 0.22955)
Exemple #6
0
 def test_function_neg15(self):
     """ Function 'fdash' returns "-0.35427" for input "-15" """
     self.assertEqual(attempt.fdash(-15), -0.35427)