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