mirror of
https://github.com/Smaug123/AdventOfCode2022
synced 2025-10-06 10:08:42 +00:00
Benchmark suite (#16)
This commit is contained in:
@@ -38,7 +38,6 @@ module TestDay1 =
|
||||
let ``Part 1, given example`` () =
|
||||
Day1.part1 (StringSplitEnumerator.make '\n' testInput) |> shouldEqual 24000
|
||||
|
||||
|
||||
[<Test>]
|
||||
let ``Part 2, given example`` () =
|
||||
Day1.part2 (StringSplitEnumerator.make '\n' testInput) |> shouldEqual 45000
|
||||
|
@@ -44,7 +44,7 @@ Monkey 3:
|
||||
[<Test>]
|
||||
let ``Part 1, single round, given`` () =
|
||||
let monkeys = Day11.parse (StringSplitEnumerator.make '\n' input)
|
||||
let inspections = Array.zeroCreate monkeys.Count
|
||||
let inspections = Array.zeroCreate monkeys.Length
|
||||
|
||||
Day11.oneRoundDivThree monkeys inspections
|
||||
|
||||
|
Reference in New Issue
Block a user