public void TestGetHashCode () { Enum e1 = new TestingEnum (); Enum e2 = new TestingEnum2 (); Assert.AreEqual (e1.GetHashCode (), e1.GetHashCode ()); }
public void TestGetHashCode() { Enum e1 = new TestingEnum(); Enum e2 = new TestingEnum2(); AssertEquals("hash code is deterministic", e1.GetHashCode(), e1.GetHashCode()); }