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