public void Constructor_WithParentDirectoryPart_DoesNotResolvePart() { const string expected = @"c:\users\userA\..\userB"; var path = new MockPath(expected); Assert.AreEqual(expected, path.ToString()); }
public void ToString_WithTrailingDot_DoesNotStripTrailingDot() { const string expected = @"c:\nemec\file...\other.txt"; var path = new MockPath(expected); var actual = path.ToString(); Assert.AreEqual(expected, actual); }