-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Labels
Description
AboutIterations
koan(6)(
"""
| `..?` in combination with a parallel operator may
| model an unlimited group of processes each of which start
| with an externally triggered action.
"""
) {
script..
s = ..? & b c d
test(1) {runWithInput(s)( ); thenActivatedOrSuccess(__`b,S`)}
test(2) {runWithInput(s)(b ); thenActivatedOrSuccess(__`b,c`)}
test(3) {runWithInput(s)(b,b ); thenActivatedOrSuccess(__`b,c`)}
test(4) {runWithInput(s)(b,b,c ); thenActivatedOrSuccess(__`b,c,d`)}
test(5) {runWithInput(s)(b,b,c,d ); thenActivatedOrSuccess(__`b,c`)}
test(6) {runWithInput(s)(b,c,b,d,c,d); thenActivatedOrSuccess(__`b,S`)}
}
Failures:
Test 5: Set(b) did not contain only (b, c)
Test 6: Set(b) did not contain only (b, S) (KoanSuite.scala:86)