Пример #1
0
        public void ExtentsEqualTo()
        {
            tlog.Debug(tag, $"ExtentsEqualTo START");

            Extents testingTarget = new Extents(1, 2, 3, 4);

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

            var result = testingTarget;

            Assert.IsNotNull(result, "should be not null");
            Assert.IsInstanceOf <Extents>(result, "should be an instance of Extents class!");

            Assert.IsTrue((testingTarget.EqualTo(result)), "Should be equal");

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