private void When_InputFileDosntExist_Expect_Exception_Helper() { string inputStr = "Input_Files/existingInput.txt"; string relativeInputPath = OSString + inputStr; ArgParser.GetInputPath(relativeInputPath); }
public void When_Correct_GetInputPath_Expect_True() { string inputStr = Path.Combine("Input_Files", "input.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, inputStr); string inputPath = ArgParser.GetInputPath(relativePath); string expectedInputPath = Path.Combine("SUM_Nodegraph_Generator", inputStr); StringAssert.Contains(expectedInputPath, inputPath); }