Tests/Activity/Calculate/PlusTest
From OLPC
Obsolete. Refer [1].
Test case: FourArithmeticOperationsTest
How to report results
| Stream | 8.2 | ||
|---|---|---|---|
| Category | Activity | Sub-category | Calculate |
| Component | Calculate | ||
| Feature | http://wiki.laptop.org/go/Calculate | ||
| Objective | warning.pngEmpty strings are not accepted. | ||
| Tools | n/a | ||
| Setup | n/a | ||
| Procedure | 1. Run the Calculate Activity on XO machine
2. Test invalid inputs for the fours arithmetic operations 3. Test valid inputs for the fours arithmetic operations | ||
| Expected Results and Pass Criteria | 1. When test the invalid inputs,like letters, the calculation should do not work out.
2. When test the valid inputs, the calculation should work out well, except any number divided by 0 (any number / 0), since it should be undefined for division. | ||
| Comments | The following is the case sequence to test the four arithmetic operations(addition, subtract, multiply, division ):
input1 (pos, neg, 0, invalid(a-z)), input2 (pos, neg, 0, invalid(a-z)) ,operations(+,-,*,/) We build 14 tests for this test case by pairwise. | ||
| Release | Stream | Build | Pass/Fail | Trac Ticket(s) | Comment(s) | Date of Test |
|---|---|---|---|---|---|---|
| Candidate | 8.2 | 2 | Pass | TestInvalidInputs:
When we test by inputing the invalid variables, we expect that the calculation should not do. For example, when input1 is a, and input2 is 1, then the calculation should do 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 test the numbers as the inputs for the test case. We need do more tests to verity truth values for the fours arithmetic operations. | 2009/03/26
|
| 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 inputin … TestInvalidInputs: When we test by inputing the invalid variables, we expect that the calculation should not do. For example, when input1 is a, and input2 is 1, then the calculation should do 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 test the numbers as the inputs for the test case. We need do more tests to verity truth values for the fours 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(a-z)), input2 (pos, neg, 0, invalid(a-z)) ,operations(+,-,*,/)We build 14 tests for this test case by pairwise. d 14 tests for this test case by pairwise. |
| Pass criteria | 1. When test the invalid inputs,like letters, the calculation should do not work out. 2. When test the valid inputs, the calculation should work out well, except any number divided by 0 (any number / 0), since it should be undefined for division. |
| PassFail | Pass + |
| Short name | FourArithmeticOperationsTest + |
| Software release | Candidate + |
| System component | Calculate + |
| System feature | http://wiki.laptop.org/go/Calculate + |
| Test category | Activity + |
| Test objective | warning.pngEmpty strings are not accepted. |
| Test procedure | 1. Run the Calculate Activity on XO machine
2. Test invalid inputs for the fours arithmetic operations 3. Test valid inputs for the fours arithmetic operations |
| Test setup | n/a |
| Test subcategory | Calculate + |
| Test tools | n/a + |

