diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2015-01-21 12:33:36 -0800 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2015-01-21 12:33:36 -0800 |
commit | df0485ae6ebe851e081cf1b7263a47d67a0cf67e (patch) | |
tree | 29a2a90a24d6435afea581ed81c576da96daa701 /chessboard-cursor.arc.t | |
parent | e612b44f76e6ab450d82bd34b584053052bd44af (diff) | |
download | mu-df0485ae6ebe851e081cf1b7263a47d67a0cf67e.tar.gz |
598 - clear up a minor mystery
Diffstat (limited to 'chessboard-cursor.arc.t')
-rw-r--r-- | chessboard-cursor.arc.t | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/chessboard-cursor.arc.t b/chessboard-cursor.arc.t index b5eac1e7..408be3d0 100644 --- a/chessboard-cursor.arc.t +++ b/chessboard-cursor.arc.t @@ -45,6 +45,7 @@ (new-trace "read-move-incomplete") (add-code:readfile "chessboard-cursor.mu") ; initialize some variables at specific raw locations +;? (prn "== init") (run-code test-init (1:channel-address/raw <- init-channel 1:literal) (2:terminal-address/raw <- init-fake-terminal 20:literal 10:literal) @@ -52,6 +53,7 @@ (wipe completed-routines*) ; the component under test; we'll be running this repeatedly (let read-move-routine (make-routine 'read-move memory*.1 memory*.2) +;? (prn "== first key") (run-code send-first-key (default-space:space-address <- new space:literal 30:literal/capacity) (c:character <- copy ((#\a literal))) @@ -65,6 +67,7 @@ (prn "F - chessboard waits after first letter of move")) (wipe completed-routines*) ; send in a few more letters +;? (prn "== more keys") (restart read-move-routine) (run-code send-more-keys (default-space:space-address <- new space:literal 30:literal/capacity) @@ -82,7 +85,9 @@ (prn "F - chessboard waits after each subsequent letter of move until the last")) (wipe completed-routines*) ; send final key +;? (prn "== final key") (restart read-move-routine) +;? (set dump-trace*) (run-code send-final-key (default-space:space-address <- new space:literal 30:literal/capacity) (c:character <- copy ((#\4 literal))) |