25 const LayerMask layer3Hole{0x77};
32 const LayerMask missingLeadingLayer0{0x7e};
37 const LayerMask missingTrailingLayer6{0x3f};
47 BOOST_CHECK_GE(LayerMask{0x7f}.length(), 7);
48 BOOST_CHECK_GE(LayerMask{0x77}.length(), 7);
49 BOOST_CHECK_LT(LayerMask{0x7e}.length(), 7);
50 BOOST_CHECK_LT(LayerMask{0x3f}.length(), 7);
118 topo.
init(7, 2, (1 << 2) | (1 << 4));
119 const auto view = topo.
getView();
121 for (
int sourceId{0}; sourceId < view.nCells; ++sourceId) {
122 const auto&
source = view.getCell(sourceId);
123 const int sourceWave =
source.hitLayerMask.last();
124 const auto successors = view.getCellsStartingWithLink(
source.secondLink);
125 for (
int i{0};
i < successors.getEntries(); ++
i) {
127 const auto&
target = view.getCell(targetId);