Пример #1
0
 public void Case4()
 {
     int code1, code2;
     Context test1 = new Context ("q", "a");
     Context test2 = new Context ("q", "a");
     code1 = test1.GetHashCode ();
     code2 = test2.GetHashCode ();
     Console.WriteLine ("test1 object has HashCode: {0}", code1);
     Console.WriteLine ("test2 object has HashCode: {0}", code2);
     Assert.AreEqual (code1, code2, "C04");
 }