Files
Claudiu Farcas 6cba23afc9 day15 solution
2022-12-15 20:19:28 +02:00

22 lines
476 B
C#

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");
}
}