private void When_OutputFileExists_Expect_Exception_Helper() { string outputStr = "Output_Files/existingOutput.txt"; string relativeOutputPath = OSString + outputStr; ArgParser.GetOutputPath(relativeOutputPath); }
public void When_Correct_GetOutputPath_Expect_True() { string outputStr = Path.Combine("Output_Files", "output.txt"); // IO must be either "Input_Files" or "Output_Files". // Expected output for test files. // Paths contain "Nodegraph_Generator.Tests" string relativePath = Path.Combine(OSString, outputStr); string outputPath = ArgParser.GetOutputPath(relativePath); string expectedOutputPath = Path.Combine("SUM_Nodegraph_Generator", outputStr); StringAssert.Contains(expectedOutputPath, outputPath); }