Guest User

Untitled

a guest
Jan 15th, 2019
116
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.52 KB | None | 0 0
  1. allTestCases
  2. = [ TestCase "isPrime" isPrime
  3. isPrimeTestCases
  4. , TestCase "nextPrime" nextPrime
  5. nextPrimeTestCases
  6. , TestCase "modPow" (uncurry3 modPow)
  7. modPowTestCases
  8. , TestCase "isCarmichael" isCarmichael
  9. isCarmichaelTestCases
  10. , TestCase "nextSmithNumber" nextSmithNumber
  11. nextSmithNumberTestCases
  12. ]
  13.  
  14. runTests = mapM_ goTest allTestCases
  15.  
  16. main = runTests
Add Comment
Please, Sign In to add comment