private ReturnsDifferentHashCodeForDifferentObjects ( ) : void | ||
return | void |
public void ReturnsDifferentHashCodeForDifferentObjects()
{
AbsolutePath a = @"c:\folder\file.ext";
AbsolutePath b = @"c:\folder\other.ext";
var hashcodeA = a.GetHashCode();
var hashcodeB = b.GetHashCode();
hashcodeA.Should().NotBe(hashcodeB);
}