Tests/Activity/TurtleArt Movement

From OLPC

< Tests
Revision as of 01:30, 17 March 2012 by Pancake Batter (Talk | contribs)
(diff) ← Older revision | Current revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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

  Image: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.


Test case: Movement
How to report results

Stream
Category Activity Sub-category TurtleArt
Component TurtleArt
Feature http://wiki.laptop.org/go/Turtleart
Objective Tests basic turtle movement
Tools None
Setup warning.pngEmpty strings are not accepted.
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
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 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


Facts about Tests/Activity/TurtleArt MovementRDF feed
Build number 45  +
Build stream warning.png"" cannot be used as a page name in this wiki.
Comments Failures
  • The semi-circle portion of the t 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. ing the 'setyx' command works as expected.
Created 29 March 2009  +
More notes Rationale:
  • The equivalence partitions for 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. er wants to draw a box with a dome on top.
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.
  • PassFail Fail  +
    Short name Movement  +
    Software release 8.2.0 (767)  +
    System component TurtleArt  +
    System feature http://wiki.laptop.org/go/Turtleart  +
    Test category Activity  +
    Test objective Tests basic turtle movement  +
    Test procedure [NOTE: Each block should be connected imme [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. 180 and 'radius' to 75.
    15. Run the sequence.
    Test setup warning.pngEmpty strings are not accepted.
    Test subcategory TurtleArt  +
    Test tools None  +
    Personal tools
    • Log in
    • Login with OpenID
    About OLPC
    About the laptop
    About the tablet
    Projects
    OLPC wiki
    Toolbox