H A D | test_math.py | 133 def ftest(self, name, value, expected): member in class:MathTests 143 self.ftest('pi', math.pi, 3.1415926) 144 self.ftest('e', math.e, 2.7182818) 148 self.ftest('acos(-1)', math.acos(-1), math.pi) 149 self.ftest('acos(0)', math.acos(0), math.pi/2) 150 self.ftest('acos(1)', math.acos(1), 0) 157 self.ftest('acosh(1)', math.acosh(1), 0) 158 self.ftest('acosh(2)', math.acosh(2), 1.3169578969248168) 167 self.ftest('asin(-1)', math.asin(-1), -math.pi/2) 168 self.ftest('asi [all...] |