equal
deleted
inserted
replaced
65 |
65 |
66 seged.x=0;seged.y=3; |
66 seged.x=0;seged.y=3; |
67 check(!doboz1.inside(seged),"Inside? Should not be."); |
67 check(!doboz1.inside(seged),"Inside? Should not be."); |
68 |
68 |
69 BB doboz2(seged); |
69 BB doboz2(seged); |
70 check(!doboz2.empty(), "empty? Should not be."); |
70 check(!doboz2.empty(), "empty? Should not be. Constructed from 1 point."); |
71 |
71 |
72 doboz2 += doboz1; |
72 doboz2 += doboz1; |
73 check(doboz2.inside(seged),"Inside? Should be."); |
73 check(doboz2.inside(seged),"Inside? Should be. Incremented a box with an other."); |
74 |
74 |
75 cout << (passed ? "All tests passed." : "Some of the tests failed!!!") |
75 cout << (passed ? "All tests passed." : "Some of the tests failed!!!") |
76 << endl; |
76 << endl; |
77 |
77 |
78 return passed ? 0 : 1; |
78 return passed ? 0 : 1; |