9 #include <boost/test/unit_test.hpp>
36 BOOST_CHECK_EQUAL(hsm, hsmCopy);
40 BOOST_CHECK_EQUAL(hsm, hsmCopyMoved);
44 BOOST_CHECK_EQUAL(hsm, hsmAssigned);
48 BOOST_CHECK_EQUAL(hsm, hsmAssignedMoved);
62 BOOST_CHECK_EQUAL(matBin, matHalf);
63 BOOST_CHECK_NE(matBin, mat);
85 BOOST_CHECK_EQUAL(mat, mat2d);
86 BOOST_CHECK_EQUAL(mat, mat3d);
87 BOOST_CHECK_EQUAL(mat, matbin);
97 BOOST_CHECK_EQUAL(hsmfwd.
factor(fDir, full), 1.);
98 BOOST_CHECK_EQUAL(hsmfwd.
factor(fDir, pre), 0.);
99 BOOST_CHECK_EQUAL(hsmfwd.
factor(fDir, post), 1.);
101 BOOST_CHECK_EQUAL(hsmfwd.
factor(bDir, full), 1.);
102 BOOST_CHECK_EQUAL(hsmfwd.
factor(bDir, pre), 1.);
103 BOOST_CHECK_EQUAL(hsmfwd.
factor(bDir, post), 0.);
114 BOOST_CHECK_EQUAL(mat, matFwdFull);
115 BOOST_CHECK_EQUAL(mat, matBwdFull);
117 BOOST_CHECK_EQUAL(mat, matFwdPost);
118 BOOST_CHECK_EQUAL(vacuum, matBwdPost);
120 BOOST_CHECK_EQUAL(vacuum, matFwdPre);
121 BOOST_CHECK_EQUAL(mat, matBwdPre);
124 BOOST_CHECK_EQUAL(hsmhalf.
factor(fDir, full), 1.);
128 BOOST_CHECK_EQUAL(hsmhalf.
factor(bDir, full), 1.);
141 BOOST_CHECK_EQUAL(mat, matFwdFull);
142 BOOST_CHECK_EQUAL(mat, matBwdFull);
144 BOOST_CHECK_EQUAL(matHalf, matFwdPost);
145 BOOST_CHECK_EQUAL(matHalf, matBwdPost);
147 BOOST_CHECK_EQUAL(matHalf, matFwdPre);
148 BOOST_CHECK_EQUAL(matHalf, matBwdPre);
151 BOOST_CHECK_EQUAL(hsmbwd.
factor(fDir, full), 1.);
152 BOOST_CHECK_EQUAL(hsmbwd.
factor(fDir, pre), 1.);
153 BOOST_CHECK_EQUAL(hsmbwd.
factor(fDir, post), 0.);
155 BOOST_CHECK_EQUAL(hsmbwd.
factor(bDir, full), 1.);
156 BOOST_CHECK_EQUAL(hsmbwd.
factor(bDir, pre), 0.);
157 BOOST_CHECK_EQUAL(hsmbwd.
factor(bDir, post), 1.);
168 BOOST_CHECK_EQUAL(mat, matFwdFull);
169 BOOST_CHECK_EQUAL(mat, matBwdFull);
171 BOOST_CHECK_EQUAL(vacuum, matFwdPost);
172 BOOST_CHECK_EQUAL(mat, matBwdPost);
174 BOOST_CHECK_EQUAL(mat, matFwdPre);
175 BOOST_CHECK_EQUAL(vacuum, matBwdPre);