示例#1
0
        private void AssertC4(Extent extent, bool assert0, bool assert1, bool assert2, bool assert3)
        {
            if (assert0)
            {
                Assert.IsTrue(extent.Contains(this.c4A), "C4_1");
            }
            else
            {
                Assert.IsFalse(extent.Contains(this.c4A), "C4_1");
            }

            if (assert1)
            {
                Assert.IsTrue(extent.Contains(this.c4B), "C4_2");
            }
            else
            {
                Assert.IsFalse(extent.Contains(this.c4B), "C4_2");
            }

            if (assert2)
            {
                Assert.IsTrue(extent.Contains(this.c4C), "C4_3");
            }
            else
            {
                Assert.IsFalse(extent.Contains(this.c4C), "C4_3");
            }

            if (assert3)
            {
                Assert.IsTrue(extent.Contains(this.c4D), "C4_4");
            }
            else
            {
                Assert.IsFalse(extent.Contains(this.c4D), "C4_4");
            }
        }
示例#2
0
        private void AssertC2(Extent extent, bool assert0, bool assert1, bool assert2, bool assert3)
        {
            if (assert0)
            {
                Assert.IsTrue(extent.Contains(this.c2A), "C2_1");
            }
            else
            {
                Assert.IsFalse(extent.Contains(this.c2A), "C2_1");
            }

            if (assert1)
            {
                Assert.IsTrue(extent.Contains(this.c2B), "C2_2");
            }
            else
            {
                Assert.IsFalse(extent.Contains(this.c2B), "C2_2");
            }

            if (assert2)
            {
                Assert.IsTrue(extent.Contains(this.c2C), "C2_3");
            }
            else
            {
                Assert.IsFalse(extent.Contains(this.c2C), "C2_3");
            }

            if (assert3)
            {
                Assert.IsTrue(extent.Contains(this.c2D), "C2_4");
            }
            else
            {
                Assert.IsFalse(extent.Contains(this.c2D), "C2_4");
            }
        }
示例#3
0
        private void AssertC3(Extent extent, bool assert0, bool assert1, bool assert2, bool assert3)
        {
            if (assert0)
            {
                Assert.IsTrue(extent.Contains(this.c3A), "C3_1");
            }
            else
            {
                Assert.IsFalse(extent.Contains(this.c3A), "C3_1");
            }

            if (assert1)
            {
                Assert.IsTrue(extent.Contains(this.c3B), "C3_2");
            }
            else
            {
                Assert.IsFalse(extent.Contains(this.c3B), "C3_2");
            }

            if (assert2)
            {
                Assert.IsTrue(extent.Contains(this.c3C), "C3_3");
            }
            else
            {
                Assert.IsFalse(extent.Contains(this.c3C), "C3_3");
            }

            if (assert3)
            {
                Assert.IsTrue(extent.Contains(this.c3D), "C3_4");
            }
            else
            {
                Assert.IsFalse(extent.Contains(this.c3D), "C3_4");
            }
        }
示例#4
0
        private void AssertC1(Extent extent, bool assert0, bool assert1, bool assert2, bool assert3)
        {
            if (assert0)
            {
                Assert.IsTrue(extent.Contains(this.c1A), "C1_1");
            }
            else
            {
                Assert.IsFalse(extent.Contains(this.c1A), "C1_1");
            }

            if (assert1)
            {
                Assert.IsTrue(extent.Contains(this.c1B), "C1_2");
            }
            else
            {
                Assert.IsFalse(extent.Contains(this.c1B), "C1_2");
            }

            if (assert2)
            {
                Assert.IsTrue(extent.Contains(this.c1C), "C1_3");
            }
            else
            {
                Assert.IsFalse(extent.Contains(this.c1C), "C1_3");
            }

            if (assert3)
            {
                Assert.IsTrue(extent.Contains(this.c1D), "C1_4");
            }
            else
            {
                Assert.IsFalse(extent.Contains(this.c1D), "C1_4");
            }
        }