public void GetRelativePath_Works() { //Arrange var mockPath = new MockPath(new MockFileSystem()); //Act var result = mockPath.GetRelativePath(XFS.Path("c:\\d"), XFS.Path("c:\\d\\e\\f.txt")); //Assert Assert.AreEqual(XFS.Path("e\\f.txt"), result); }
public void GetRelativePath_Works() { //Arrange var mockPath = new MockPath(new MockFileSystem()); //Act var result = mockPath.GetRelativePath(XFS.Path("c:\\d"), XFS.Path("c:\\d\\e\\f.txt")); //Assert Assert.AreEqual(XFS.Path("e\\f.txt"), result); }