# Tests/Activity/TurtleArt Movement

 A request has been made for this page to be deleted.If you disagree with its deletion, please explain why on its talk page.Before deleting verify that no links will break.
 WARNING:The content of this section is consideredDEPRECATED and OBSOLETEIt is preserved for historical or documenting reasons.

Test case: Movement
How to report results

 Stream Category Activity TurtleArt TurtleArt http://wiki.laptop.org/go/Turtleart Tests basic turtle movement None warning.pngEmpty strings are not accepted. [NOTE: Each block should be connected immediately below the previous block] Open the TurtleArt activity. Drag a 'seth' block onto the field, and set it to -90 Drag a 'forward' block onto the field and set its value to 150. Drag a 'left' block onto the field and set its value to 270. Drag a 'back' block onto the field and set its value to 150. Drag a 'right' block onto the field and set its value to -270. Drag a 'back' block onto the field and set its value to -150. Drag a 'left' block onto the field and set its value to 630. Drag a 'forward' block onto the field and set its value to -150. Drag a 'right' block onto the field and set its value to 540. Drag a 'forward' block onto the field and set its value to 10 000 000 000. Drag a 'back' block onto the field and set its value to 10 000 000 000. Drag an 'arc' block onto the field and set 'angle' to -180 and 'radius' to 75. Run the sequence. Confirm that the drawing surface: Shows a perfect square with a semi-circle on top of it. The turtle positioned at the top left corner of the square, facing the bottom of the display. Rationale: The equivalence partitions for the 'forward' and 'back' blocks are {Negative Number, Positive Number, Large Positive Number} The equivalence partitions for the 'left' and 'right' blocks are {Negative Number, Positive Number < 360, Positive Number > 360} It is assumed that the blocks function independently, so a member from each partition is tried once against each block. This test sequence itself follows a simple use case: the user wants to draw a box with a dome on top.
Release Stream Build Pass/Fail Trac Ticket(s) Comment(s) Date of Test
8.2.0 (767) warning.png"" cannot be used as a page name in this wiki. 45 Fail Failures
• The semi-circle portion of the test drawing does not appear as expected.
• The turtle itself is no longer visible after the test has run.

These results are traced to steps 11 and 12: when the turtle is moved off the screen by a large number and then instructed to come back by the same amount, it doesn't come back. Using the 'print' block to show the x or y co-ordinate will print the expected value and the turtle then returns to that position upon executing the print command. Also, clicking the 'clear' button immediately after running the test sequence does not recenter the turtle at (0, 0) however using the 'setyx' command works as expected.

2009/03/29