make AllParts() print a bit wider
This commit is contained in:
parent
0dc2c05312
commit
3bdf71633d
|
@ -29,7 +29,7 @@ public abstract class Day
|
|||
|
||||
private void AllParts(bool verbose = true)
|
||||
{
|
||||
Console.Write($"{Year} Day {DayNumber,2}: {PuzzleName,-31}");
|
||||
Console.Write($"{Year} Day {DayNumber,2}: {PuzzleName,-40} ");
|
||||
|
||||
var s = Stopwatch.StartNew();
|
||||
ProcessInput();
|
||||
|
@ -40,7 +40,7 @@ public abstract class Day
|
|||
s.Start();
|
||||
var part1 = Part1();
|
||||
s.Stop();
|
||||
Console.Write($"Part 1: {part1,-35} ");
|
||||
Console.Write($"Part 1: {part1,-45} ");
|
||||
Console.WriteLine(verbose ? $"{s.ScaleMilliseconds()}ms elapsed" : "");
|
||||
|
||||
s.Reset();
|
||||
|
@ -48,7 +48,7 @@ public abstract class Day
|
|||
s.Start();
|
||||
var part2 = Part2();
|
||||
s.Stop();
|
||||
Console.Write($"Part 2: {part2,-35} ");
|
||||
Console.Write($"Part 2: {part2,-45} ");
|
||||
Console.WriteLine(verbose ? $"{s.ScaleMilliseconds()}ms elapsed" : "");
|
||||
|
||||
Console.WriteLine();
|
||||
|
@ -67,7 +67,6 @@ public abstract class Day
|
|||
throw new ApplicationException("no days found");
|
||||
}
|
||||
|
||||
|
||||
if (args.Length == 1 && int.TryParse(args[0], out var dayNum))
|
||||
{
|
||||
var day = days.FirstOrDefault(d => d.DayNumber == dayNum);
|
||||
|
|
Loading…
Reference in New Issue
Block a user