Tests/Activity/TurtleArt Movement

From OLPC
Jump to navigation Jump to search

This page is obsolete. The information has been merged into [1].

  Trashcan.png 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.
Stop hand.png WARNING:
The content of this section is considered
DEPRECATED and OBSOLETE
It is preserved for historical or documenting reasons.


Stream ,|x|Build stream::x}}
Category Test category::Activity Sub-category Test subcategory::TurtleArt
Component System component::TurtleArt
Feature System feature::http://wiki.laptop.org/go/Turtleart
Objective Test objective::Tests basic turtle movement
Tools Test tools::None
Setup Test setup::
Procedure [[Test procedure::[NOTE: Each block should be connected immediately below the previous block]
  1. Open the TurtleArt activity.
  2. Drag a 'seth' block onto the field, and set it to -90
  3. Drag a 'forward' block onto the field and set its value to 150.
  4. Drag a 'left' block onto the field and set its value to 270.
  5. Drag a 'back' block onto the field and set its value to 150.
  6. Drag a 'right' block onto the field and set its value to -270.
  7. Drag a 'back' block onto the field and set its value to -150.
  8. Drag a 'left' block onto the field and set its value to 630.
  9. Drag a 'forward' block onto the field and set its value to -150.
  10. Drag a 'right' block onto the field and set its value to 540.
  11. Drag a 'forward' block onto the field and set its value to 10 000 000 000.
  12. Drag a 'back' block onto the field and set its value to 10 000 000 000.
  13. Drag an 'arc' block onto the field and set 'angle' to -180 and 'radius' to 75.
  14. Run the sequence.]]
Expected Results
and Pass Criteria
[[Pass criteria::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.]]
Comments [[More notes::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
Software release::8.2.0 (767) Build stream:: Build number::45 PassFail::Fail ,|x| #x}} [[Comments::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.]]

Created::2009/03/29