diff options
Diffstat (limited to 'test/Main.hs')
| -rw-r--r-- | test/Main.hs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/Main.hs b/test/Main.hs index c2141ee..358073f 100644 --- a/test/Main.hs +++ b/test/Main.hs @@ -711,6 +711,9 @@ tests_AD = testGroup "AD" ,adTestTp "fold-freearr" (C "" 1) $ fromNamed $ lambda @(TArr N1 R) #a $ body $ idx0 $ fold1i (#x :-> #y :-> #x * #y + #a ! pair nil 0) 1 #a + + ,adTest "map" $ fromNamed $ lambda @(TArr N1 R) #a $ body $ + idx0 $ sum1i $ map_ (#x :-> 2 * #x) #a ] main :: IO () |
