public void GetHashCodeWorksOnNonBlankInstance() { ImplementationKeyComparer comparer = new ImplementationKeyComparer(); comparer.GetHashCode(new ImplementationKey("file", null, true)); comparer.GetHashCode(new ImplementationKey(null, "app", true)); comparer.GetHashCode(new ImplementationKey("file", "app", false)); }
public void GetHashCodeWorksOnNonBlankInstance() { ImplementationKeyComparer comparer = new ImplementationKeyComparer(); comparer.GetHashCode(new ImplementationKey("file", null, true)); comparer.GetHashCode(new ImplementationKey(null, "app", true)); comparer.GetHashCode(new ImplementationKey("file", "app", false)); }
public void GetHashCodeIsCaseInsensitive() { ImplementationKeyComparer comparer = new ImplementationKeyComparer(); Assert.AreEqual(comparer.GetHashCode(new ImplementationKey("file", "APP", true)), comparer.GetHashCode(new ImplementationKey("FILE", "app", true))); }
public void GetHashCodeWorksOnBlankInstance() { ImplementationKeyComparer comparer = new ImplementationKeyComparer(); comparer.GetHashCode(new ImplementationKey()); }
public void GetHashCodeIsCaseInsensitive() { ImplementationKeyComparer comparer = new ImplementationKeyComparer(); Assert.AreEqual(comparer.GetHashCode(new ImplementationKey("file", "APP", true)), comparer.GetHashCode(new ImplementationKey("FILE", "app", true))); }
public void GetHashCodeWorksOnBlankInstance() { ImplementationKeyComparer comparer = new ImplementationKeyComparer(); comparer.GetHashCode(new ImplementationKey()); }