9 #include <boost/test/unit_test.hpp>
19 BOOST_TEST(
id.boundary() == 0
u);
20 BOOST_TEST(
id.
layer() == 0
u);
21 BOOST_TEST(
id.approach() == 0
u);
22 BOOST_TEST(
id.sensitive() == 0
u);
29 BOOST_TEST(
id.
volume() == 0xa0u);
30 BOOST_TEST(
id.boundary() == 0xb0u);
31 BOOST_TEST(
id.
layer() == 0x0c0u);
32 BOOST_TEST(
id.approach() == 0x0du);
33 BOOST_TEST(
id.sensitive() == 0x00affe0u);
47 BOOST_TEST(
GeometryID(ref).setVolume(volumeMax + 1) ==
49 BOOST_TEST(
GeometryID(ref).setBoundary(boundaryMax + 1) ==
51 BOOST_TEST(
GeometryID(ref).setLayer(layerMax + 1) ==
53 BOOST_TEST(
GeometryID(ref).setApproach(approachMax + 1) ==
55 BOOST_TEST(
GeometryID(ref).setSensitive(sensitiveMax + 1) ==
63 BOOST_TEST(vol1 < vol2);
64 BOOST_TEST(
GeometryID(vol1).setBoundary(64
u) < vol2);
66 BOOST_TEST(
GeometryID(vol1).setApproach(64
u) < vol2);
67 BOOST_TEST(
GeometryID(vol1).setSensitive(64
u) < vol2);
70 BOOST_TEST(
GeometryID(vol1).setVolume(1
u).setBoundary(2
u) <
72 BOOST_TEST(
GeometryID(vol1).setBoundary(1
u).setLayer(2
u) <
74 BOOST_TEST(
GeometryID(vol1).setLayer(1
u).setApproach(2
u) <
76 BOOST_TEST(
GeometryID(vol1).setApproach(1
u).setSensitive(2
u) <