private static void testEquality(string s, Schema sc) { Assert.IsTrue(sc.Equals(sc)); Schema sc2 = Schema.Parse(s); Assert.IsTrue(sc.Equals(sc2)); Assert.AreEqual(sc.GetHashCode(), sc2.GetHashCode()); }
private static void testEquality(string s, Schema sc) { Assert.IsTrue(sc.Equals(sc)); Schema sc2 = Schema.Parse(s); Assert.IsTrue(sc.Equals(sc2)); Assert.AreEqual(sc.GetHashCode(), sc2.GetHashCode()); }