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