public void ReturnsNoIntersectionForFullyContainedRectangles()
            {
                //Arrange
                RectangleF rec1      = new RectangleF(1, 1, 1, 1);
                RectangleF rec2      = new RectangleF(0, 0, 10, 10);
                var        processor = new RectangleProcessor(rec1, rec2);

                //Act
                var result = processor.Intersection();

                //Assert
                Assert.IsFalse(result.IntersectionPresent);
            }
            public void ReturnsNoIntersectionForNonOverlappingRectangles()
            {
                //Arrange
                RectangleF rec1      = new RectangleF(0, 0, 10, 10);
                RectangleF rec2      = new RectangleF(11, 0, 10, 10);
                var        processor = new RectangleProcessor(rec1, rec2);

                //Act
                var result = processor.Intersection();

                //Assert
                Assert.IsFalse(result.IntersectionPresent);
            }
            private IntersectionAnalysis SetUp(float x1, float y1, float width1, float height1, float x2, float y2, float width2, float height2)
            {
                //Arrange
                RectangleF rec1      = new RectangleF(x1, y1, width1, height1);
                RectangleF rec2      = new RectangleF(x2, y2, width2, height2);
                var        processor = new RectangleProcessor(rec1, rec2);

                //Act
                var result = processor.Intersection();

                return(result);
                //Assert
                //Assert.IsTrue(result.IntersectionPresent);
            }