Ejemplo n.º 1
0
 public void TestList1()
 {
     try
     {
         Contrast.AreSame(Collection as IList <int>, Collection_NotSame as IList <int>);
         Assert.Fail();
     }
     catch (ArgumentException)
     {
     }
 }
Ejemplo n.º 2
0
 public void TestDictionary1()
 {
     try
     {
         Contrast.AreSame(Dictionary as IDictionary <int, int>, Dictionary_NotSame as IDictionary <int, int>);
         Assert.Fail();
     }
     catch (ArgumentException)
     {
     }
 }
Ejemplo n.º 3
0
 public void TestList0()
 {
     Contrast.AreSame(Collection as IList <int>, Collection_Same as IList <int>);
 }
Ejemplo n.º 4
0
 public void TestCollection0()
 {
     Contrast.AreSame(Collection as ICollection <int>, Collection_Same as ICollection <int>);
 }
Ejemplo n.º 5
0
 public void TestEnumerable0()
 {
     Contrast.AreSame(Collection as IEnumerable <int>, Collection_Same as IEnumerable <int>);
 }
Ejemplo n.º 6
0
 public void TestDictionary0()
 {
     Contrast.AreSame(Dictionary as IDictionary <int, int>, Dictionary_Same as IDictionary <int, int>);
 }