Skip to content

Commit 703d3d5

Browse files
committed
Exercises08 fix
1 parent 938ac5e commit 703d3d5

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

HaskellExercises08/test/Spec.hs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,8 @@ main = hspec $ do
9696
describe "addSNat" $ do
9797
it "addSNat (intToSNat x) (intToSNat y) should be x+y" $ property $ addSNatProp
9898
describe "multSNat" $ do
99+
it "multSNat (intToSNat x) (intToSNat y) should be x*y" $ property $ multSNatProp
100+
describe "absSNat" $ do
99101
it "should always be Positive and not change the underlying Nat" $ property $ absSNatProp
100102
describe "negateSNat" $ do
101103
it "should flip the sign but keep the underlying Nat" $ property $ negateSNatProp

0 commit comments

Comments
 (0)