libcruft-util/test/region.cpp

17 lines
272 B
C++
Raw Normal View History

2012-05-11 12:21:47 +10:00
#include "../region.hpp"
#include "../debug.hpp"
2012-05-11 12:21:47 +10:00
using util::region;
int
main (int, char **) {
{
region<double> a (32.7, -6.09703, 0.8, 2);
region<double> b (33.5, -4.5, 0.5, 0.5);
2012-05-11 12:34:21 +10:00
CHECK_HARD (!a.overlaps (b));
2012-05-11 12:21:47 +10:00
}
return 0;
}