Day03: Statement, input data and failing test
This commit is contained in:
22
AdventOfCode2018.Tests/Day03_Tests.cs
Normal file
22
AdventOfCode2018.Tests/Day03_Tests.cs
Normal file
@@ -0,0 +1,22 @@
|
||||
using Microsoft.VisualStudio.TestTools.UnitTesting;
|
||||
|
||||
namespace AdventOfCode2018.Tests
|
||||
{
|
||||
[TestClass()]
|
||||
public class Day03_Tests
|
||||
{
|
||||
[TestMethod()]
|
||||
public void ResolveDay03__Test()
|
||||
{
|
||||
Day03 day03 = new Day03();
|
||||
|
||||
string result = day03.ResolveDay03(new string[] {
|
||||
"#1 @ 1,3: 4x4",
|
||||
"#2 @ 3,1: 4x4",
|
||||
"#3 @ 5,5: 2x2",
|
||||
});
|
||||
|
||||
Assert.AreEqual("4", result);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user