public void Test04() { string input = @"50 -13 68 -43 -71 -39 -10 40 -49 -19 -3 -70 -62 -76 -94 -73 64 72 -5 88 2 -63 92 -40 16 49 47 -86 -51 -9 -14 96 74 -22 -34 38 -12 6 63 19 -69 14 -90 -27 76 54 57 -87 -91 43 -92"; string inputLine2 = input.Split(new[] { Environment.NewLine }, StringSplitOptions.RemoveEmptyEntries)[1]; using (TempFile inputFile = new TempFile("input.txt", input)) using (TempFile outputFile = new TempFile("output.txt", "")) { TestCaseLoader.SetUp("input.txt", "output.txt"); Solution.Main(null); TestCaseLoader.TearDown(); CheckResult(inputLine2, TestCaseLoader.GetOutput()[0]); } }
public void Test03() { string input = @"20 45 25 46 48 28 6 13 5 36 44 7 4 11 30 24 34 15 31 38 49"; string inputLine2 = input.Split(new[] { Environment.NewLine }, StringSplitOptions.RemoveEmptyEntries)[1]; using (TempFile inputFile = new TempFile("input.txt", input)) using (TempFile outputFile = new TempFile("output.txt", "")) { TestCaseLoader.SetUp("input.txt", "output.txt"); Solution.Main(null); TestCaseLoader.TearDown(); CheckResult(inputLine2, TestCaseLoader.GetOutput()[0]); } }