daily pastebin goal
4%
SHARE
TWEET

Untitled

a guest Jan 15th, 2019 78 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top