day15 solution

This commit is contained in:
Claudiu Farcas
2022-12-15 20:19:28 +02:00
parent cb1aeea711
commit 6cba23afc9
15 changed files with 463 additions and 8 deletions
+22
View File
@@ -0,0 +1,22 @@
namespace day15.test;
using FluentAssertions;
public class UnitTestProblem
{
[Fact]
public void TestProblem1()
{
var problem = new Problem();
problem.ResolvePart1("testdata.txt", 10);
problem.Result1.Should().Be("26");
}
[Fact]
public void TestProblem2()
{
var problem = new Problem();
problem.ResolvePart2("testdata.txt", 20);
problem.Result2.Should().Be("56000011");
}
}