commentData.matchBools(cfg, makeMap1(result, boolsBottom));
commentData.matchIntervals(cfg, makeMap2(result, intvBottom));
}
protected void testBooleansAndBoxes(MethodControlFlowGraph cfg) {
TestCommentData commentData = TestCommentData.parseComments(cfg);
IntegerBoxesSemantics as = new IntegerBoxesSemantics("");
NonRelationalDomain<Bool> initialBools = commentData.getInitialBools();
IntegerBoxes initialBoxes = commentData.getInitialBoxes();
ProductDomain<NonRelationalDomain<Bool>, IntegerBoxes> initialValue = as.getInitialValue();
if (initialBools != null)
initialValue = initialValue.setLeft(initialBools);
if (initialBoxes != null)
initialValue = initialValue.setRight(initialBoxes);
Map<CFGVertice, ProductDomain<NonRelationalDomain<Bool>, IntegerBoxes>> result = Interpreter
.analyse(cfg, as, initialValue, new StopCondition.NoStopCondition());
NonRelationalDomain<Bool> boolsBottom = NonRelationalDomain.getStaticBottom();
IntegerBoxes boxesBottom = IntegerBoxes.BOTTOM;
commentData.matchBools(cfg, makeMap1(result, boolsBottom));
commentData.matchBoxes(cfg, makeMap2(result, boxesBottom));
}