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