forked from davidedc/Algebrite
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrun-tests.coffee
118 lines (110 loc) · 1.74 KB
/
run-tests.coffee
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
# self test functions
test_low_level = ->
run("clearall"); # to initialize stack and memory
test_clearall()
test_inv()
test_printlatex()
test_mixedprint()
test_inner()
test_transpose()
test_signs_in_rationals()
test_madd()
test_msub()
test_mmul()
test_mdiv()
test_mmod()
test_mprime()
test_mgcd()
test_mpow()
test_mroot()
test_dependencies()
test_assignments()
test_caching()
test_strings()
test_test()
test_check()
selftest = ->
test_low_level()
test_pattern()
test_abs()
test_sum()
test_product()
test_exp()
test_expand()
test_factorpoly()
test_subst()
test_simplify()
test_multiply()
test_scan()
test_power()
test_factor_number(); # long
test_tensor()
test_bake()
test_adj()
test_arg()
test_approxratio()
test_besselj()
test_bessely()
test_ceiling()
test_choose()
test_circexp()
test_clock()
test_cofactor()
test_condense()
test_contract()
test_defint(); # very long
test_denominator()
test_derivative()
test_dirac()
test_erf()
test_erfc()
test_expcos()
test_expsin()
test_float()
test_floor()
test_gamma()
test_gcd()
test_imag()
test_lcm()
test_log()
#test_mod()
test_nroots()
test_numerator()
test_outer()
test_polar()
test_quotient()
test_rationalize()
test_real()
test_rect()
test_sgn()
test_taylor()
test_zero()
test_hermite()
test_laguerre()
test_legendre()
test_binomial()
test_divisors()
test_coeff()
test_sin()
test_cos()
test_tan()
test_sinh()
test_cosh()
test_tanh()
test_arcsin()
test_arcsinh()
test_arccos()
test_arccosh()
test_arctan()
test_arctanh()
test_index()
test_isprime()
test_eigen()
test_shape()
mini_test()
test_quickfactor()
test_integral()
test_roots()
# alert "passed tests: " + ok_tests + " / failed tests: " + ko_tests
return
selftest()