mirror of
https://github.com/Smaug123/AdventOfCode2021
synced 2025-10-05 15:58:40 +00:00
Day 7 (#3)
This commit is contained in:
@@ -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
13
Test/TestDay7.fs
Normal 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
|
Reference in New Issue
Block a user