Beispiel #1
0
        public void TwoDisjointSquares_ReturnsFalse()
        {
            List <Brep> TestEnv = BrepFactory.TwoDisjointSquares();

            bool result = Logic.Relationships.Confirm.RegionsIntersect(TestEnv[0], TestEnv[1]);

            Assert.IsFalse(result);
        }
        public void TwoDisjointSquares_ReturnsNone()
        {
            List <Brep> TestEnv = BrepFactory.TwoDisjointSquares();

            Console.WriteLine(TestEnv.Count);

            List <Brep> resultGeometry = Logic.Transformations.Breps.SplitTwoBreps(TestEnv[0], TestEnv[1]);

            Assert.AreEqual(resultGeometry.Count, 0);
        }