Initial commit
This commit is contained in:
commit
cf2af11b6b
23 changed files with 3988 additions and 0 deletions
11
test/spec/AoCSpec/UtilSpec.hs
Normal file
11
test/spec/AoCSpec/UtilSpec.hs
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
module AoCSpec.UtilSpec (spec) where
|
||||
|
||||
import AoC.Util
|
||||
|
||||
import Test.Hspec
|
||||
|
||||
spec :: Spec
|
||||
spec = do
|
||||
describe "solveRiddle" do
|
||||
it "runs the given solver" do
|
||||
solveRiddle "test/data/foo.txt" pure `shouldReturn` ()
|
||||
1
test/spec/Spec.hs
Normal file
1
test/spec/Spec.hs
Normal file
|
|
@ -0,0 +1 @@
|
|||
{-# OPTIONS_GHC -F -pgmF hspec-discover #-}
|
||||
6
test/spec/SpecHook.hs
Normal file
6
test/spec/SpecHook.hs
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
module SpecHook (hook) where
|
||||
|
||||
import Test.Hspec
|
||||
|
||||
hook :: Spec -> Spec
|
||||
hook = parallel
|
||||
Loading…
Add table
Add a link
Reference in a new issue