Day05: Statement and failing tests

This commit is contained in:
2018-12-05 09:33:36 +01:00
parent a61446686f
commit 1d345f110d
6 changed files with 80 additions and 1 deletions

View File

@@ -61,6 +61,7 @@
<Compile Include="Day02_Tests.cs" />
<Compile Include="Day03_Tests.cs" />
<Compile Include="Day04_Tests.cs" />
<Compile Include="Day05_Tests.cs" />
<Compile Include="GuardEvent_Tests.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
</ItemGroup>

View File

@@ -0,0 +1,18 @@
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace AdventOfCode2018.Tests
{
[TestClass()]
public class Day05_Tests
{
[TestMethod()]
public void ResolvePart1__Test()
{
Day05 day05 = new Day05();
string result = day05.ResolvePart1("dabAcCaCBAcCcaDA");
Assert.AreEqual("10", result);
}
}
}