Exemple #1
0
 public static void EqualsTest(Int128 i1, object obj, bool expected)
 {
     if (obj is Int128 i2)
     {
         Assert.Equal(expected, i1.Equals(i2));
         Assert.Equal(expected, i1.GetHashCode().Equals(i2.GetHashCode()));
     }
     Assert.Equal(expected, i1.Equals(obj));
 }