public void WhenEmptyPathSegmentShouldBeIncluded() { // Arrange var path = SPath.Parse(@"C:\Program Files\", @"\"); // Act var actual = path.ToString("/"); // Assert Assert.Equal("C:/Program Files/", actual); }
public void WhenRootShouldBeRoot() { // Arrange var path = SPath.Parse(@"\", @"\"); // Act var actual = path.ToString("/"); // Assert Assert.Equal("/", actual); }