2022-02-21 18:47:10 +01:00
|
|
|
|
|
|
|
system "echo '0'"
|
2022-02-21 18:27:41 +01:00
|
|
|
|
2022-02-21 17:59:41 +01:00
|
|
|
set-bool-array "t.in" 15 0
|
2022-02-21 18:47:10 +01:00
|
|
|
|
|
|
|
system "echo '1'"
|
|
|
|
|
2022-02-21 17:59:41 +01:00
|
|
|
cycle
|
|
|
|
mode run
|
|
|
|
assert t.out 0
|
|
|
|
|
|
|
|
set-bool-array "t.in" 15 1
|
|
|
|
cycle
|
|
|
|
assert t.out 1
|
|
|
|
|
2022-02-21 18:47:10 +01:00
|
|
|
system "echo '2'"
|
|
|
|
|
2022-02-21 17:59:41 +01:00
|
|
|
set-bool-array "t.in" 15 0
|
|
|
|
cycle
|
|
|
|
assert t.out 0
|
|
|
|
|
2022-02-21 18:47:10 +01:00
|
|
|
system "echo '3'"
|
2022-02-21 17:59:41 +01:00
|
|
|
|
|
|
|
set-bool-array "t.in" 15 15
|
|
|
|
cycle
|
|
|
|
assert t.out 1
|
|
|
|
|
2022-02-21 18:47:10 +01:00
|
|
|
system "echo '4'"
|