mirror of
https://github.com/farcasclaudiu/advent_of_code_2022.git
synced 2026-06-22 05:01:20 +03:00
22 lines
466 B
C#
22 lines
466 B
C#
namespace day16.test;
|
|
using FluentAssertions;
|
|
public class UnitTestProblem
|
|
{
|
|
[Fact]
|
|
public void TestProblem1()
|
|
{
|
|
var problem = new Problem();
|
|
problem.ResolvePart1("testdata.txt");
|
|
|
|
problem.Result1.Should().Be("1651");
|
|
}
|
|
|
|
[Fact]
|
|
public void TestProblem2()
|
|
{
|
|
var problem = new Problem();
|
|
problem.ResolvePart2("testdata.txt");
|
|
|
|
problem.Result2.Should().Be("1707");
|
|
}
|
|
} |