/* * Console.WriteLine($"{"Test name".FormatWidth(TestNameWidth)} {0, 15} {1,15} {2,15}", * "Share[min]", "Executed", "Avg. dur.[ms]"); */ public string ToReportString(int width) { return(string.Format($"{TestFullName.FormatWidth(width)} {{0,-15:N5}} {{1,-15}} {{2,-15:N5}}", Share / 60_000, TimesExecuted, Share / TimesExecuted)); }
public string ToShortDurationString(int width) { return($"{TestFullName.FormatWidth(width)} {Duration}"); }