Day12 part 1

This commit is contained in:
2018-12-14 07:13:05 +01:00
parent e9139526a5
commit cd6a78eb75
6 changed files with 287 additions and 1 deletions

View File

@@ -0,0 +1,36 @@
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace AdventOfCode2018.Tests
{
[TestClass()]
public class Day12_Tests
{
[TestMethod()]
public void ResolvePart1__Test()
{
Day12 day = new Day12();
string result = day.ResolvePart1(new string[]
{
"initial state: #..#.#..##......###...###",
"",
"...## => #",
"..#.. => #",
".#... => #",
".#.#. => #",
".#.## => #",
".##.. => #",
".#### => #",
"#.#.# => #",
"#.### => #",
"##.#. => #",
"##.## => #",
"###.. => #",
"###.# => #",
"####. => #",
});
Assert.AreEqual("325", result);
}
}
}