mirror of
https://github.com/Smaug123/AdventOfCode2021
synced 2025-10-10 18:28:46 +00:00
Initial commit of day 1
This commit is contained in:
17
Test/TestDay1.fs
Normal file
17
Test/TestDay1.fs
Normal file
@@ -0,0 +1,17 @@
|
||||
namespace AdventOfCode2021.Test
|
||||
|
||||
open AdventOfCode
|
||||
open Xunit
|
||||
open FsUnitTyped
|
||||
|
||||
module TestDay1 =
|
||||
|
||||
[<Fact>]
|
||||
let ``Part 1`` () =
|
||||
Day1.part1 ()
|
||||
|> shouldEqual 1766
|
||||
|
||||
[<Fact>]
|
||||
let ``Part 2`` () =
|
||||
Day1.part2 ()
|
||||
|> shouldEqual 1797
|
Reference in New Issue
Block a user