AIO commit

Sorry for the late commit, forgot to commit and push it on Saturday 7th.
Thank god there are moodle reminders
This commit is contained in:
MarcUs7i 2024-12-31 23:47:08 +01:00
parent 3083dbce7f
commit 2e6b418fef
24 changed files with 5790 additions and 1 deletions

View file

@ -0,0 +1,28 @@
namespace AdventOfCode.Test;
public sealed class Day6Test
{
private const string Input = "....#.....\r\n.........#\r\n..........\r\n..#.......\r\n.......#..\r\n..........\r\n.#..^.....\r\n........#.\r\n#.........\r\n......#...";
[Fact]
public void Part1()
{
const int Expected = 41;
var day = new Day6();
var result = day.Part1(Input);
Assert.Equal(Expected, result);
}
[Fact]
public void Part2()
{
const int Expected = 6;
var day = new Day6();
var result = day.Part2(Input);
Assert.Equal(Expected, result);
}
}