30 lines
471 B
Plaintext
30 lines
471 B
Plaintext
watchall
|
|
cycle
|
|
set t.in1.r 0
|
|
set t.in2.r 0
|
|
set t.out.a 0
|
|
cycle
|
|
status X
|
|
mode run
|
|
system "echo '[0] reset done'"
|
|
|
|
set t.in1.r 1
|
|
cycle
|
|
assert t.out.r 1
|
|
set t.out.a 1
|
|
cycle
|
|
assert t.in1.a 1
|
|
system "echo '[1] test in1 done'"
|
|
system "echo '----------------------------------------------------------------------------------------------------'"
|
|
set t.in1.r 0
|
|
set t.in2.r 0
|
|
set t.out.a 0
|
|
cycle
|
|
assert t.out.r 0
|
|
assert t.in1.a 0
|
|
assert t.in2.a 0
|
|
system "echo '[2] reset done'"
|
|
|
|
|
|
|