This commit is contained in:
Patrick Stevens
2021-12-07 08:49:48 +00:00
committed by GitHub
parent ee5106524f
commit 0e14037b16
5 changed files with 67 additions and 1 deletions

View File

@@ -7,6 +7,7 @@
<ItemGroup>
<Compile Include="TestDay1.fs" />
<Compile Include="TestDay6.fs" />
<Compile Include="TestDay7.fs" />
</ItemGroup>
<ItemGroup>

13
Test/TestDay7.fs Normal file
View File

@@ -0,0 +1,13 @@
namespace AdventOfCode2021.Test
open AdventOfCode
open Xunit
open FsUnitTyped
module TestDay7 =
[<Fact>]
let ``Part 1`` () = Day7.part1 () |> shouldEqual 356992
[<Fact>]
let ``Part 2`` () = Day7.part2 () |> shouldEqual 101268110