Esempio n. 1
0
 def test_chebyt(self):
     assert_mpmath_equal(sc.eval_chebyt,
                         _exception_to_nan(lambda n, x: mpmath.chebyt(n, x, **HYPERKW)),
                         [Arg(), Arg()],
                         n=2000)
Esempio n. 2
0
 def test_chebyt_int(self):
     assert_mpmath_equal(
         lambda n, x: sc.eval_chebyt(int(n), x),
         _exception_to_nan(lambda n, x: mpmath.chebyt(n, x, **HYPERKW)),
         [IntArg(), Arg()],
         n=2000)