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