Skip to content

Commit

Permalink
correct spelling mistake
Browse files Browse the repository at this point in the history
  • Loading branch information
EdwardBetts committed Sep 1, 2017
1 parent 4209431 commit f4c447a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test.hs
Expand Up @@ -23,7 +23,7 @@ qcNumInstance = testGroup "QuickCheck"
[
QuickCheck.testProperty "x = abs(x) * signum(x)" $ \ x -> (x :: TimeSpec) == (abs x) * (signum x)
, QuickCheck.testProperty "integer addition equals TimeSpec addition" $ \ x y -> x + y == toNanoSecs (fromInteger x + fromInteger y)
, QuickCheck.testProperty "integer substraction equals TimeSpec subtracttion" $ \ x y -> x - y == toNanoSecs (fromInteger x - fromInteger y)
, QuickCheck.testProperty "integer subtraction equals TimeSpec subtracttion" $ \ x y -> x - y == toNanoSecs (fromInteger x - fromInteger y)
, QuickCheck.testProperty "rational multiplication equals TimeSpec multiplication" $
\ x y ->
let rationalMul = truncate ((x :: Nano) * (y :: Nano) * (10^9))
Expand Down

0 comments on commit f4c447a

Please sign in to comment.