Beispiel #1
0
        public void ListSourceContains()
        {
            tlog.Debug(tag, $"ListSourceContains START");

            var para          = new TestEnumerable();
            var testingTarget = new ListSource(para);

            Assert.IsNotNull(testingTarget, "should be not null");
            Assert.IsInstanceOf <ListSource>(testingTarget, "should be an instance of testing target class!");

            var ret = testingTarget.Contains(3);

            Assert.IsTrue(ret, "The ListSouce should contain 3.");

            testingTarget.Dispose();
            tlog.Debug(tag, $"ListSourceContains END (OK)");
        }