 WARNING: The content of this section is considered DEPRECATED and OBSOLETE It is preserved for historical or documenting reasons.

Stream
 8.2

Category
 Activity
 Subcategory
 Calculate

Component
 Calculate

Feature
 http://wiki.laptop.org/go/Calculate

Objective
 Test the calculate activity basic functionalities

Tools
 n/a

Setup
 n/a

Procedure
 1. Open the XO machine.
2. Run the Calculate Activity on XO machine.
3. Test invalid inputs for the four arithmetic operations.
4. Test valid inputs for the four arithmetic operations.

Expected Results and Pass Criteria
 1. When testing the invalid inputs, it is expected that tests will fail by returning some error message telling the user what went wrong.
2. When testing the valid inputs, it is expected that tests will pass by returning the right value.

Comments
 The following is the case sequence to test the four arithmetic operations(addition, subtract, multiply, division ):
input1(pos, neg, 0, invalid(az)), input2(pos, neg, 0, invalid(az)) ,operations(+,,*,/)
We build 12 test cases using pairwise method and 2 test cases using Myer's method.

Release
 Stream
 Build
 Pass/Fail
 Trac Ticket(s)
 Comment(s)
 Date of Test

Candidate
 8.2
 2
 Pass

 TestInvalidInputs:
When we test by inputting the invalid variables, we expect that the calculation should not work. For example, when input1 is a, and input2 is 1, then the calculation should not work out for a + 1.
The invalid inputs values are from a to z.
 2009/03/26

Candidate
 8.2
 12
 Pass

 TestValidInputs:
The valid inputs values are numbers, and truth values(true and false). However, we just tested numbers as the inputs for the test cases. We do need more tests to verity truth values for the four arithmetic operations.
 2009/03/26

Facts about Tests/Activity/Calculate/FourArithmeticOperationsTestRDF feed
Build number  2 +, and 12 +  Build stream  8.2 +info.pngLink to builds in stream, Packages in stream, ChangeLog, Differences vs joyride  Comments  TestInvalidInputs:
When we test by inputt … TestInvalidInputs:
When we test by inputting the invalid variables, we expect that the calculation should not work. For example, when input1 is a, and input2 is 1, then the calculation should not work out for a + 1.
The invalid inputs values are from a to z. The invalid inputs values are from a to z., and TestValidInputs:
The valid inputs values are numbers, and truth values(true and false). However, we just tested numbers as the inputs for the test cases. We do need more tests to verity truth values for the four arithmetic operations.  Created  26 March 2009 +  More notes  The following is the case sequence to test … The following is the case sequence to test the four arithmetic operations(addition, subtract, multiply, division ):
input1(pos, neg, 0, invalid(az)), input2(pos, neg, 0, invalid(az)) ,operations(+,,*,/)
We build 12 test cases using pairwise method and 2 test cases using Myer's method. thod and 2 test cases using Myer's method.  Pass criteria  1. When testing the invalid inputs, it is expected that tests will fail by returning some error message telling the user what went wrong.
2. When testing the valid inputs, it is expected that tests will pass by returning the right value.  PassFail  Pass +  Short name  FourArithmeticOperationsTest +  Software release  Candidate +  System component  Calculate +  System feature  http://wiki.laptop.org/go/Calculate +  Test category  Activity +  Test objective  Test the calculate activity basic functionalities +  Test procedure  1. Open the XO machine.
2. Run the Calculate Activity on XO machine.
3. Test invalid inputs for the four arithmetic operations.
4. Test valid inputs for the four arithmetic operations.  Test setup  n/a  Test subcategory  Calculate +  Test tools  n/a + 
