mirror of
https://codeberg.org/JasterV/aoc2024-haskell.git
synced 2026-04-26 18:10:05 +00:00
15 lines
309 B
Haskell
15 lines
309 B
Haskell
module Day9Spec (spec) where
|
|
|
|
import Day9 (partOne, partTwo)
|
|
import Test.Hspec
|
|
|
|
spec :: Spec
|
|
spec = do
|
|
describe "PartOne" $ do
|
|
it "works" $ do
|
|
partOne input `shouldBe` 1928
|
|
describe "PartTwo" $ do
|
|
it "works" $ do
|
|
partTwo input `shouldBe` 2858
|
|
where
|
|
input = "2333133121414131402"
|