Ejemplo n.º 1
0
 public void EqualsTestGetHasCodesEquals()
 {
     CountedCategory o1 = new CountedCategory(new Category(2, "foo"), 42, new Dictionary<string, int>());
     CountedCategory o2 = new CountedCategory(new Category(2, "foo"), 42, new Dictionary<string, int>());
     Assert.AreEqual(o1.GetHashCode(), o2.GetHashCode());
 }