mirror of
https://github.com/farcasclaudiu/advent_of_code_2022.git
synced 2026-06-22 09:01:25 +03:00
init current
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
namespace day05.test;
|
||||
using FluentAssertions;
|
||||
public class UnitTestProblem
|
||||
{
|
||||
[Fact]
|
||||
public void TestProblem1()
|
||||
{
|
||||
var problem = new Problem();
|
||||
problem.ResolvePart1("testdata.txt");
|
||||
|
||||
problem.Result1.Should().Be("CMZ");
|
||||
}
|
||||
|
||||
[Fact]
|
||||
public void TestProblem2()
|
||||
{
|
||||
var problem = new Problem();
|
||||
problem.ResolvePart2("testdata.txt");
|
||||
|
||||
problem.Result2.Should().Be("MCD");
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user