diff options
Diffstat (limited to 'examples/tests.hs')
-rw-r--r-- | examples/tests.hs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/examples/tests.hs b/examples/tests.hs index eb8f50d..66afca6 100644 --- a/examples/tests.hs +++ b/examples/tests.hs | |||
@@ -298,9 +298,13 @@ exponentialTest = do | |||
298 | let expected = exp 30.0 | 298 | let expected = exp 30.0 |
299 | assertBool "exp_e10_e" ( abs (v*10^e - expected) < 4E-2 ) | 299 | assertBool "exp_e10_e" ( abs (v*10^e - expected) < 4E-2 ) |
300 | 300 | ||
301 | gammaTest = do | ||
302 | assertBool "gamma" (gamma 5 == 24.0) | ||
303 | |||
301 | tests = TestList | 304 | tests = TestList |
302 | [ TestCase $ besselTest | 305 | [ TestCase $ besselTest |
303 | , TestCase $ exponentialTest | 306 | , TestCase $ exponentialTest |
307 | , TestCase $ gammaTest | ||
304 | , TestCase $ polySolveTest | 308 | , TestCase $ polySolveTest |
305 | , TestCase $ integrateTest | 309 | , TestCase $ integrateTest |
306 | ] | 310 | ] |