Пример #1
0
 public static string GetTestFile(IDailyTests dt, string kernel = null)
 {
     return(GetFile(dt, (kernel == null) ? "Test" : kernel));
 }
Пример #2
0
 private static string GetFile(IDailyTests dt, string kernel)
 {
     return(Path.Combine(TestDir, $"Day.{dt.Number.ToString().PadLeft(2, '0')}.{kernel}.txt"));
 }
Пример #3
0
 public static string GetInputFile(IDailyTests dt)
 {
     return(GetFile(dt, "Input"));
 }