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