示例#1
0
 public void TestEquals()
 {
     for (int i = 0; i < _testPairs.Length; i++)
     {
         CompositeType left   = (CompositeType)_testPairs[i][0];
         CompositeType right  = (CompositeType)_testPairs[i][1];
         bool          result = (bool)_testPairs[i][2];
         Assert.AreEqual(result, left.Equals(right));
         Assert.AreEqual(result, right.Equals(left));
     }
 }