@@ -17,30 +17,30 @@ public void RectIntersection_Smoke_Test()
1717 {
1818 var result = RectangleIntersection . FindIntersection ( new Rectangle ( )
1919 {
20- leftTopCorner = new Point ( ) { x = 0 , y = 10 } ,
21- rightBottomCorner = new Point ( ) { x = 10 , y = 0 }
20+ LeftTopCorner = new Point ( ) { x = 0 , y = 10 } ,
21+ RightBottomCorner = new Point ( ) { x = 10 , y = 0 }
2222 } ,
2323 new Rectangle ( )
2424 {
25- leftTopCorner = new Point ( ) { x = 5 , y = 5 } ,
26- rightBottomCorner = new Point ( ) { x = 15 , y = 0 }
25+ LeftTopCorner = new Point ( ) { x = 5 , y = 5 } ,
26+ RightBottomCorner = new Point ( ) { x = 15 , y = 0 }
2727 } ) ;
2828
2929 Assert . AreEqual ( result , new Rectangle ( )
3030 {
31- leftTopCorner = new Point ( ) { x = 5 , y = 5 } ,
32- rightBottomCorner = new Point ( ) { x = 10 , y = 0 }
31+ LeftTopCorner = new Point ( ) { x = 5 , y = 5 } ,
32+ RightBottomCorner = new Point ( ) { x = 10 , y = 0 }
3333 } ) ;
3434
3535 result = RectangleIntersection . FindIntersection ( new Rectangle ( )
3636 {
37- leftTopCorner = new Point ( ) { x = 0 , y = 10 } ,
38- rightBottomCorner = new Point ( ) { x = 4 , y = 0 }
37+ LeftTopCorner = new Point ( ) { x = 0 , y = 10 } ,
38+ RightBottomCorner = new Point ( ) { x = 4 , y = 0 }
3939 } ,
4040 new Rectangle ( )
4141 {
42- leftTopCorner = new Point ( ) { x = 5 , y = 5 } ,
43- rightBottomCorner = new Point ( ) { x = 15 , y = 0 }
42+ LeftTopCorner = new Point ( ) { x = 5 , y = 5 } ,
43+ RightBottomCorner = new Point ( ) { x = 15 , y = 0 }
4444 } ) ;
4545
4646 Assert . AreEqual ( result , default ( Rectangle ) ) ;
0 commit comments