public void GetHashCodeSame() { SemanticVersion left = new SemanticVersion(1, 0, 0, "foo", "bar"); SemanticVersion right = new SemanticVersion(1, 0, 0, "foo", "bar"); VersionComparer comparer = new VersionComparer(); Assert.Equal(comparer.GetHashCode(left), comparer.GetHashCode(right)); }