Day01: solve part 1
This commit is contained in:
parent
f7197a5623
commit
04636aacc5
6 changed files with 1042 additions and 11 deletions
10
test/spec/AoCSpec/Y2023Spec.hs
Normal file
10
test/spec/AoCSpec/Y2023Spec.hs
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
module AoCSpec.Y2023Spec (spec) where
|
||||
|
||||
import AoC
|
||||
import Test.Hspec
|
||||
|
||||
spec :: Spec
|
||||
spec = do
|
||||
describe "Day 1" do
|
||||
it "calculates correctly" do
|
||||
runAoC Y2023 D01 `shouldReturn` Right [54331]
|
||||
Loading…
Add table
Add a link
Reference in a new issue