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