*** test program for CRect class
initial state :
left 0, top 0, right 0, bottom 0, width 0, height 0
set method:
left 10, top 20, right 40, bottom 60, width 30, height 40
setCorner method:
left 110, top 120, right 140, bottom 160, width 30, height 40
setSize method:
left 110, top 120, right 240, bottom 260, width 130, height 140
setLeft method:
left 15, top 120, right 145, bottom 260, width 130, height 140
setTop method:
left 15, top 25, right 145, bottom 165, width 130, height 140
setRight method:
left 15, top 25, right 40, bottom 165, width 25, height 140
setBottom method:
left 15, top 25, right 40, bottom 70, width 25, height 45
new rect2:
left 20, top 30, right 60, bottom 80, width 40, height 50
copy method:
left 20, top 30, right 60, bottom 80, width 40, height 50
move method:
left 35, top 55, right 75, bottom 105, width 40, height 50
grow method:
left 30, top 50, right 80, bottom 110, width 50, height 60
union method:
rect1: left 30, top 50, right 80, bottom 110, width 50, height 60
rect2: left 20, top 30, right 60, bottom 80, width 40, height 50
result : 0
left 30, top 50, right 60, bottom 80, width 30, height 30
