(self)
| 507 | self.ftest('degrees(0)', math.degrees(0), 0) |
| 508 | |
| 509 | def testExp(self): |
| 510 | self.assertRaises(TypeError, math.exp) |
| 511 | self.ftest('exp(-1)', math.exp(-1), 1/math.e) |
| 512 | self.ftest('exp(0)', math.exp(0), 1) |
| 513 | self.ftest('exp(1)', math.exp(1), math.e) |
| 514 | self.assertEqual(math.exp(INF), INF) |
| 515 | self.assertEqual(math.exp(NINF), 0.) |
| 516 | self.assertTrue(math.isnan(math.exp(NAN))) |
| 517 | self.assertRaises(OverflowError, math.exp, 1000000) |
| 518 | |
| 519 | def testExp2(self): |
| 520 | self.assertRaises(TypeError, math.exp2) |
nothing calls this directly
no test coverage detected