UNPKG

algebrite

Version:

Computer Algebra System in Coffeescript

25 lines (17 loc) 260 B
test_erf = -> run_test [ "erf(a)", "erf(a)", "erf(0.0) + 1", # add 1 to round off "1", "float(erf(0)) + 1", # add 1 to round off "1", ] ### #two potential more tests that were # commented-out #if 0 "float(erf(1))", "0.842701", #endif ###