public static void Contains() { Qunit.RunTest("Contains", () => { var testClass = new TestClass(); IList <TestClass> array = new [] { testClass }; Qunit.IsTrue(array.Contains(testClass)); }); }
public static void Remove() { Qunit.RunTest("Remove", () => { var testClass = new TestClass(); IList <TestClass> array = new[] { testClass }; array.Remove(testClass); Qunit.AreEqual(0, array.Count); }); }