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