UNPKG

264 Btext/coffeescriptView Raw
1test_erf = ->
2 run_test [
3
4 "erf(a)",
5 "erf(a)",
6
7 "erf(0.0) + 1", # add 1 to round off
8 "1.0",
9
10 "float(erf(0)) + 1", # add 1 to round off
11 "1.0",
12 ]
13
14###
15
16#two potential more tests that were
17# commented-out
18
19#if 0
20"float(erf(1))",
21"0.842701",
22#endif
23###
24