Skip to content

Commit

Permalink
scp-2708 - commented NAM and ANN test cases - pull request still open
Browse files Browse the repository at this point in the history
  • Loading branch information
yveshauser authored and awkure committed Sep 15, 2021
1 parent 4139b0c commit 55778c3
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions marlowe-actus/test/Spec.hs
Original file line number Diff line number Diff line change
Expand Up @@ -16,19 +16,21 @@ main = do

pamTests <- testCasesFromFile ["pam25"] $ p ++ "actus-tests-pam.json" -- pam25: dates include hours, minutes, second
lamTests <- testCasesFromFile ["lam18"] $ p ++ "actus-tests-lam.json" -- lam18: dates include hours, minutes, second
namTests <- testCasesFromFile [] $ p ++ "actus-tests-nam.json"
annTests <- testCasesFromFile [
"ann09" -- ann09: currently unsupported, see also actus-core AnnuityTest.java
, "ann19" -- ann19: dates include hours, minutes, second
, "ann26" -- ann26: dates include hours, minutes, second
] $ p ++ "actus-tests-ann.json"
-- NAM, ANN temporarily commented - waiting for
-- https://github.com/actusfrf/actus-tests/pull/1
-- namTests <- testCasesFromFile [] $ p ++ "actus-tests-nam.json"
-- annTests <- testCasesFromFile [
-- "ann09" -- ann09: currently unsupported, see also actus-core AnnuityTest.java
-- , "ann19" -- ann19: dates include hours, minutes, second
-- , "ann26" -- ann26: dates include hours, minutes, second
-- ] $ p ++ "actus-tests-ann.json"

defaultMain $ testGroup "ACTUS Contracts"
[
Spec.Marlowe.Actus.tests "PAM" pamTests
, Spec.Marlowe.Actus.tests "LAM" lamTests
, Spec.Marlowe.Actus.tests "NAM" namTests
, Spec.Marlowe.Actus.tests "ANN" annTests
-- , Spec.Marlowe.Actus.tests "NAM" namTests
-- , Spec.Marlowe.Actus.tests "ANN" annTests
]

testCasesFromFile :: [String] -> FilePath -> IO [TestCase]
Expand Down

0 comments on commit 55778c3

Please sign in to comment.