(self)
| 231 | self.assertEqual(math.tau, 2*math.pi) |
| 232 | |
| 233 | def testAcos(self): |
| 234 | self.assertRaises(TypeError, math.acos) |
| 235 | self.ftest('acos(-1)', math.acos(-1), math.pi) |
| 236 | self.ftest('acos(0)', math.acos(0), math.pi/2) |
| 237 | self.ftest('acos(1)', math.acos(1), 0) |
| 238 | self.assertRaises(ValueError, math.acos, INF) |
| 239 | self.assertRaises(ValueError, math.acos, NINF) |
| 240 | self.assertRaises(ValueError, math.acos, 1 + eps) |
| 241 | self.assertRaises(ValueError, math.acos, -1 - eps) |
| 242 | self.assertTrue(math.isnan(math.acos(NAN))) |
| 243 | |
| 244 | def testAcosh(self): |
| 245 | self.assertRaises(TypeError, math.acosh) |
nothing calls this directly
no test coverage detected