...
Setup: Program area and scene are empty, character is at position A2 (A1 in sketchpad world).
Select the “Move forward three squares” command block and drop it in the program area
Expect:
The block is added to the program
The block appears selected both in the program area and the movements panel
- "Movement forward three squares selected" and "Added movement forward three squares" is read out
Repeat step 1 four times
Expect:
There are 5 "Move forward three squares" blocks in the program
"Added movement forward three squares" is read out after each addition
Select the "Turn right 90 degrees" block and drop it to between the third and fourth program blocks in the program area
Expect:
The block is inserted into the program
- "Movement turn right 90 degrees selected" and "Added movement turn right 90 degrees" is read out
Select the "Move forward two squares" block and drop it after the "Turn right"
Expect:
The block is inserted into the program
- "Movement forward two squares selected" and "Added movement forward two squares" is read out
Select the "Move forward two squares" block and drop it before the "Turn right"
Expect:
The block is inserted into the program
- "Added movement forward two squares" is read out
Scroll to the end of the program and add a 'Turn right 90 degrees' at the end
Expect:
The block is inserted into the program
- "Added movement turn right 90 degrees" is read out
- Select the "Turn left 180 degrees" block and drag it over the program area without releasing the mouse. Move the pointer outside the program area and release the mouse.
Expect:- The block is not inserted into the program.
- No announcement is made.
Run the program
Expect:
The character moves along the top of the scene to the top right corner, turns right and moves to the bottom right corner and turns right again
- The play button switches to a pause button while the program is running
- The character produces sounds while the program is running
- The stop button is available while the program is running
- The command being performed by the character is highlighted while the program is running
...