scenario print-character-at-top-left-2 [
assume-screen 3/width, 2/height
run [
1:character <- copy 97/a
screen:address:screen <- print screen:address:screen, 1:character/a
]
screen-should-contain [
.a .
. .
]
]
scenario clear-line-erases-printed-characters-2 [
assume-screen 5/width, 3/height
run [
1:character <- copy 97/a
screen:address:screen <- print screen:address:screen, 1:character/a
screen:address:screen <- move-cursor screen:address:screen, 0/row, 0/column
screen:address:screen <- clear-line screen:address:screen
]
screen-should-contain [
. .
. .
. .
]
]