public void CanFindIndividualPathItems() { var pathStr = @"c:\whatever;d:\omg"; var path = new Paths(pathStr); path.Should().Have.SameSequenceAs( @"c:\whatever", @"d:\omg"); }
public void AddingNonNormalizedPathWillNormalizeAndAddItToList() { var pathStr = @"c:\whatever;d:\omg"; var path = new Paths(pathStr); path.Add("E:/Wtf").Should().Be(@"e:\wtf\"); path.Should().Have.SameSequenceAs( @"c:\whatever", @"d:\omg", @"e:\wtf\"); }