blob: eac544a3f961b143c12a3931ef793c9c02416021 [file] [log] [blame]
import "loops.eol";
$with Map {"" = "LoopingA"}
$with Map {"" = "LoopingB"}
@test
operation looping() {
assertTrue(hasLoop(Node.all.first));
}
$with Map {"" = "NonLooping"}
@test
operation nonLooping() {
assertFalse(hasLoop(Node.all.first));
}