diff options
Diffstat (limited to 'examples/tests.hs')
-rw-r--r-- | examples/tests.hs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/tests.hs b/examples/tests.hs index b542113..5c14f96 100644 --- a/examples/tests.hs +++ b/examples/tests.hs | |||
@@ -328,6 +328,7 @@ tests = do | |||
328 | [ test "arith1" $ ((ones (100,100) * 5 + 2)/0.5 - 7)**2 |~| (49 :: RM) | 328 | [ test "arith1" $ ((ones (100,100) * 5 + 2)/0.5 - 7)**2 |~| (49 :: RM) |
329 | , test "arith2" $ (((1+i) .* ones (100,100) * 5 + 2)/0.5 - 7)**2 |~| ( (140*i-51).*1 :: CM) | 329 | , test "arith2" $ (((1+i) .* ones (100,100) * 5 + 2)/0.5 - 7)**2 |~| ( (140*i-51).*1 :: CM) |
330 | , test "arith3" $ exp (i.*ones(10,10)*pi) + 1 |~| 0 | 330 | , test "arith3" $ exp (i.*ones(10,10)*pi) + 1 |~| 0 |
331 | , test "<\\>" $ (3><2) [2,0,0,3,1,1::Double] <\> 3|>[4,9,5] |~| 2|>[2,3] | ||
331 | ] | 332 | ] |
332 | putStrLn "--------- GSL ------" | 333 | putStrLn "--------- GSL ------" |
333 | quickCheck $ \v -> ifft (fft v) |~| v | 334 | quickCheck $ \v -> ifft (fft v) |~| v |