Benchmark suite (#16)

This commit is contained in:
Patrick Stevens
2022-12-11 12:16:07 +00:00
committed by GitHub
parent 4205ec4661
commit d323984a12
11 changed files with 324 additions and 120 deletions

View File

@@ -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