Esempio n. 1
0
		[Test()] public void TestContains()
		{
			var list_proxy = new ListProxy<int>(CreateSequence(), CreateOddSequence());

			foreach (int num in CreateEvenSequence())
				Assert.IsTrue(list_proxy.Contains(num));

			foreach (int num in CreateOddSequence())
				Assert.IsFalse(list_proxy.Contains(num));
		}
        [Test()] public void TestContains()
        {
            var list_proxy = new ListProxy <int>(CreateSequence(), CreateOddSequence());

            foreach (int num in CreateEvenSequence())
            {
                Assert.IsTrue(list_proxy.Contains(num));
            }

            foreach (int num in CreateOddSequence())
            {
                Assert.IsFalse(list_proxy.Contains(num));
            }
        }