Day05: Statement and failing tests
This commit is contained in:
@@ -7,7 +7,7 @@ namespace AdventOfCode2018
|
||||
{
|
||||
private static void Main(string[] args)
|
||||
{
|
||||
int currentDay = 4;
|
||||
int currentDay = 5;
|
||||
|
||||
if (currentDay == 1)
|
||||
{
|
||||
@@ -53,6 +53,17 @@ namespace AdventOfCode2018
|
||||
Console.WriteLine("Day04 Result Part2: {0}", resultPart2);
|
||||
}
|
||||
|
||||
if (currentDay == 5)
|
||||
{
|
||||
// Resolve Day05
|
||||
Day05 day05 = new Day05();
|
||||
string dataDay05 = File.ReadAllText("inputs/Day05.txt");
|
||||
string resultPart1 = day05.ResolvePart1(dataDay05);
|
||||
Console.WriteLine("Day04 Result Part1: {0}", resultPart1);
|
||||
string resultPart2 = day05.ResolvePart2(dataDay05);
|
||||
Console.WriteLine("Day04 Result Part2: {0}", resultPart2);
|
||||
}
|
||||
|
||||
Console.Read();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user