public void TestRemoveMeshesPath(string originalPath, string expectedPath) { var meshPaths = new MeshPaths(); var newPath = meshPaths.RemoveMeshesPath(originalPath); Assert.Equal(expectedPath, newPath); }
public void TestMangleMeshesPath(string originalPath, string injectedPath, string expectedPath, string expectedTestPath) { var meshPaths = new MeshPaths(); var newPath = meshPaths.MangleMeshesPath(originalPath, injectedPath, out var testPath); Assert.Equal(expectedPath, newPath); Assert.Equal(expectedTestPath, testPath); }