libcruft-util/test/region.cpp

16 lines
248 B
C++
Raw Normal View History

2012-05-11 12:21:47 +10:00
#include "../region.hpp"
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);
check_hard (!a.overlaps (b));
}
return 0;
}