40 assert body.count(
"tarch::multicore::spawnAndWait( parallelActionSets );") == 1
41 assert "std::function<void()> invokeActionSet0 = [&]() -> void {" in body
42 assert "std::function<void()> invokeActionSet1 = [&]() -> void {" in body
43 assert "invokeActionSet2" not in body
47 positions = [body.index(f
"_actionSet{index}.")
for index
in order]
48 assert positions == sorted(positions)
49 wait = body.index(
"spawnAndWait")
50 assert (body.index(
"_actionSet2.") > wait) == (function ==
"enterCell")