Tests/Activity/CalculateTests
From OLPC
This Calculate Tests page is an amalgamation of test of the Calculate feature tests. Most of the tests date from 2009.
[edit] Calculate Activity Test
Test case: Calculate Activity
How to report results
| Stream | Any | ||
|---|---|---|---|
| Category | Activity | Sub-category | Calculate |
| Component | Calculate | ||
| Feature | http://wiki.laptop.org/go/Calculate | ||
| Objective | basic activity testing | ||
| Tools | n/a | ||
| Setup | n/a | ||
| Procedure | # Activity installs from download (if not part of default installation) from website or USB key
| ||
| Expected Results and Pass Criteria | warning.pngEmpty strings are not accepted. | ||
| Comments | warning.pngEmpty strings are not accepted. | ||
| Release | Stream | Build | Pass/Fail | Trac Ticket(s) | Comment(s) | Date of Test |
|---|---|---|---|---|---|---|
| Candidate | 8.2 | 760 | Pass | calculate-24 | warning.pngThe date "" was not understood (support for dates is still experimental).
|
[edit] Calculate CosSin Test
Test case: cossin
How to report results
| Stream | |||
|---|---|---|---|
| Category | Activity | Sub-category | calculate |
| Component | numbers | ||
| Feature | http://wiki.laptop.org/go/Calculate | ||
| Objective | passed | ||
| Tools | calculator and numbers | ||
| Setup | warning.pngEmpty strings are not accepted. | ||
| Procedure | 1. turn on the calculator.
2. type cos(sin(1)). 3. click on = button. | ||
| Expected Results and Pass Criteria | number 0.6663 | ||
| Comments | test has passed. | ||
| Release | Stream | Build | Pass/Fail | Trac Ticket(s) | Comment(s) | Date of Test |
|---|
[edit] Calculate Plus Test
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
|
[edit] Calculate Square Test
Test case: square
How to report results
| Stream | |||
|---|---|---|---|
| Category | Activity | Sub-category | calculate |
| Component | numbers | ||
| Feature | Tests/Activity/Calculate/SquareTest | ||
| Objective | passed | ||
| Tools | calculater and numbers | ||
| Setup | warning.pngEmpty strings are not accepted. | ||
| Procedure | #turn on the calculator.
| ||
| Expected Results and Pass Criteria | number 4. | ||
| Comments | test has passed. | ||
| Release | Stream | Build | Pass/Fail | Trac Ticket(s) | Comment(s) | Date of Test |
|---|---|---|---|---|---|---|
| 7.1.0 (650) | joyride | warning.png"" is not a number. | Pass | warning.pngEmpty strings are not accepted. | warning.pngThe date "" was not understood (support for dates is still experimental).
|
[edit] Calculate Clear Test
Test case: clear
How to report results
| Stream | |||
|---|---|---|---|
| Category | Activity | Sub-category | calculate |
| Component | numbers | ||
| Feature | http://wiki.laptop.org/go/Calculate | ||
| Objective | passed | ||
| Tools | calculator and numbers | ||
| Setup | warning.pngEmpty strings are not accepted. | ||
| Procedure | 1. turn on the calculator.
2. click on any number. 3. click on clear button. | ||
| Expected Results and Pass Criteria | screen is clear. | ||
| Comments | test has passed. | ||
| Release | Stream | Build | Pass/Fail | Trac Ticket(s) | Comment(s) | Date of Test |
|---|
[edit] Calculate Log Test
Test case: log
How to report results
| Stream | |||
|---|---|---|---|
| Category | Activity | Sub-category | calculate |
| Component | numbers | ||
| Feature | http://wiki.laptop.org/go/Calculate | ||
| Objective | passed | ||
| Tools | calculator and numbers | ||
| Setup | warning.pngEmpty strings are not accepted. | ||
| Procedure | 1. turn on the calculator.
2. click on 2 button. 3. click on log button. 4. click on = button. | ||
| Expected Results and Pass Criteria | number 0.3010 | ||
| Comments | test has passed. | ||
| Release | Stream | Build | Pass/Fail | Trac Ticket(s) | Comment(s) | Date of Test |
|---|
[edit] Calculate Subtraction Tests
Test case: subtraction
How to report results
| Stream | |||
|---|---|---|---|
| Category | Activity | Sub-category | calculate |
| Component | numbers | ||
| Feature | http://wiki.laptop.org/go/Calculate | ||
| Objective | passed | ||
| Tools | calculator and numbers | ||
| Setup | warning.pngEmpty strings are not accepted. | ||
| Procedure | 1. turn on the calculator.
2. click on number 5. 3. click on - button. 4. click on number 2. 5. click on = button. | ||
| Expected Results and Pass Criteria | number 2. | ||
| Comments | test has passed. | ||
| Release | Stream | Build | Pass/Fail | Trac Ticket(s) | Comment(s) | Date of Test |
|---|
[edit] Calculate Turn On Test
Test case: turnon
How to report results
| Stream | |||
|---|---|---|---|
| Category | Activity | Sub-category | calculate |
| Component | numbers | ||
| Feature | http://wiki.laptop.org/go/Calculate | ||
| Objective | passed | ||
| Tools | calculator and numbers | ||
| Setup | warning.pngEmpty strings are not accepted. | ||
| Procedure | 1. click on the calculator icon on the desktop of OLPC laptop.
2. check whether application is opening or not. 3. type some numbers on the screen. | ||
| Expected Results and Pass Criteria | calculator screen is open. | ||
| Comments | test has passed. | ||
| Release | Stream | Build | Pass/Fail | Trac Ticket(s) | Comment(s) | Date of Test |
|---|
[edit] Calculate Tan Test
Test case: tan
How to report results
| Stream | |||
|---|---|---|---|
| Category | Activity | Sub-category | calculate |
| Component | numbers | ||
| Feature | http://wiki.laptop.org/go/Calculate | ||
| Objective | passed | ||
| Tools | calculator and numbers | ||
| Setup | warning.pngEmpty strings are not accepted. | ||
| Procedure | 1. turn on the calculator.
2. click on number 1. 3. click on tan button. 4. click on = button. | ||
| Expected Results and Pass Criteria | number 1.5574 | ||
| Comments | test has passed. | ||
| Release | Stream | Build | Pass/Fail | Trac Ticket(s) | Comment(s) | Date of Test |
|---|
[edit] Calculate Multiplication Test
Test case: multiplication
How to report results
| Stream | |||
|---|---|---|---|
| Category | Activity | Sub-category | calculate |
| Component | numbers | ||
| Feature | http://wiki.laptop.org/go/Calculate | ||
| Objective | passed | ||
| Tools | calculator and numbers | ||
| Setup | warning.pngEmpty strings are not accepted. | ||
| Procedure | 1. turn on the calculator.
2. click on 2 button. 3. click on * button. 4. click on 3 button. 5. click on = button. | ||
| Expected Results and Pass Criteria | number 6. | ||
| Comments | test has passed. | ||
| Release | Stream | Build | Pass/Fail | Trac Ticket(s) | Comment(s) | Date of Test |
|---|
[edit] Calculate Cube Test
Test case: cube
How to report results
| Stream | |||
|---|---|---|---|
| Category | Activity | Sub-category | calculate |
| Component | numbers | ||
| Feature | http://wiki.laptop.org/go/Calculate | ||
| Objective | passed | ||
| Tools | calculator and numbers | ||
| Setup | warning.pngEmpty strings are not accepted. | ||
| Procedure | 1. turn on the calculator.
2. click on 2 button. 3. click on x^3 button. 4. click on = button. | ||
| Expected Results and Pass Criteria | number 8. | ||
| Comments | test has passed. | ||
| Release | Stream | Build | Pass/Fail | Trac Ticket(s) | Comment(s) | Date of Test |
|---|
[edit] Calculate Addition Test
Test case: addition
How to report results
| Stream | |||
|---|---|---|---|
| Category | Activity | Sub-category | addition |
| Component | calculator and numbers | ||
| Feature | http://wiki.laptop.org/go/Calculate | ||
| Objective | addition of numbers | ||
| Tools | calculator and numbers | ||
| Setup | warning.pngEmpty strings are not accepted. | ||
| Procedure | 1. turn on the calculator.
2. click on 1 button. 3. click on + button. 4. click on 2 button. 5. click on = button | ||
| Expected Results and Pass Criteria | number 3. | ||
| Comments | test has passed. | ||
| Release | Stream | Build | Pass/Fail | Trac Ticket(s) | Comment(s) | Date of Test |
|---|
[edit] Calculate SinCos Test
Test case: sincos
How to report results
| Stream | |||
|---|---|---|---|
| Category | Activity | Sub-category | calculate |
| Component | numbers | ||
| Feature | http://wiki.laptop.org/go/Calculate | ||
| Objective | passed | ||
| Tools | calculator and numbers | ||
| Setup | warning.pngEmpty strings are not accepted. | ||
| Procedure | 1. turn on the calculator.
2. type sin(cos(1)). 3. click on = button or ans button. | ||
| Expected Results and Pass Criteria | number 0.5143. | ||
| Comments | test has passed. | ||
| Release | Stream | Build | Pass/Fail | Trac Ticket(s) | Comment(s) | Date of Test |
|---|
[edit] Calculate Cos Test
Test case: cos
How to report results
| Stream | |||
|---|---|---|---|
| Category | Activity | Sub-category | calculate |
| Component | numbers | ||
| Feature | http://wiki.laptop.org/go/Calculate | ||
| Objective | passed | ||
| Tools | calculator an dnumbers | ||
| Setup | warning.pngEmpty strings are not accepted. | ||
| Procedure | 1. turn on the calculator.
2. click on number 2. 3. click on cos button. 4. click on = button. | ||
| Expected Results and Pass Criteria | number 0.5403 | ||
| Comments | test has passed. | ||
| Release | Stream | Build | Pass/Fail | Trac Ticket(s) | Comment(s) | Date of Test |
|---|---|---|---|---|---|---|
| warning.pngEmpty strings are not accepted. | warning.png"" cannot be used as a page name in this wiki. | warning.png"" is not a number. | Pass | alsdfjasjsadlfksaflsdfkaslfdds | warning.pngThe date "" was not understood (support for dates is still experimental).
|
[edit] Calculate Algebra and Constant Test
Test case: AlgebraAndConstantTest
How to report results
| Stream | 8.2 | ||
|---|---|---|---|
| Category | Activity | Sub-category | Calculate |
| Component | Calculate | ||
| Feature | http://wiki.laptop.org/go/Calculate | ||
| Objective | Test three functions for the algebra feature, also test the constants of the Calculate activity | ||
| 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 algebra operation 4. Test valid inputs for algebra operation. Constants are checked and used as valid inputs. | ||
| Expected Results and Pass Criteria | When using invalid inputs like letters, it is expected that the tests to fail by informing the user with an error message.
When using valid inputs, it is expected that the tests will pass by returning the correct values. | ||
| Comments | The following is the test suite for algebra and constant test:
inputs(invalid, int, double, constants), sign(+,-), algebra(x!,x^2,root(x)) Base on Pairwise, we count and build 9 test cases, and 1 test case by Myer's. We check the constants(pi, e) and use it by putting them as input values. We just test three of algebra operations, which are x!, x^2, root(x).More tests are needed to cover the other functions of the algebra feature. | ||
| Release | Stream | Build | Pass/Fail | Trac Ticket(s) | Comment(s) | Date of Test |
|---|---|---|---|---|---|---|
| Candidate | 8.2 | 1 | Pass | TestInvalidInputs:
We can not input letters(a-Z) to do algebra operation. | 2009/03/26
| |
| Candidate | 8.2 | 9 | Pass | TestValidInputs:
When the input number is negative, root(x) of algebra operation produce error as expected. When a double input is used for x!, the result is zero. | 2009/03/26
|
[edit] Boolean and Label Test
Test case: BooleanAndLabelTest
How to report results
| Stream | 8.2 | ||
|---|---|---|---|
| Category | Activity | Sub-category | Calculate |
| Component | Calculate | ||
| Feature | http://wiki.laptop.org/go/Calculate | ||
| Objective | Test the boolean and the label features for the Calculate activity | ||
| Tools | n/a | ||
| Setup | n/a | ||
| Procedure | 1. Open the XO machine
2. Run the calculate activity on XO machine 3. Test invalid inputs 4. Test valid inputs | ||
| Expected Results and Pass Criteria | When testing invalid inputs, it was expected that tests will fail by informing the user by an error message.
When testing valid inputs, it was expected that tests will pass returning the correct values. | ||
| Comments | The following is the test sequence for testing boolean feature(And, Or, Equal, Not Equal) and creating label:
input1(true, false, number, invalid), input2(true, false, number, invalid), boolean operators (AND(&), OR , EQUAL(=), NOT EQUAL(!=)), label (valid labels, invalid, no labels) Based on Pairwise, we use TConfig to count and produce 12 test cases. In addition, based on Myer's, we build 3 test cases for invalid inputs for the test suite. | ||
| Release | Stream | Build | Pass/Fail | Trac Ticket(s) | Comment(s) | Date of Test |
|---|---|---|---|---|---|---|
| Candidate | 8.2 | 3 | Pass | TestInvalidInputs:
The invalid inputs for boolean features are letters from a to z. The invalid inputs for label name are only symbols(&,+,=,and so on), numbers(1,2,...), and truth value(true, false). We can name labels by these invalid values, but once you call these labels, then we can not get the value of these labels stand for. The calculation still work out, but the result is not right as you expect to get. We think here is a bug for label.However, We have not done any test for calling invalid label in this test suite. Therefore, more tests are needed. | 2009/03/26
| |
| Candidate | 8.2 | 12 | Pass | TestValidInputs:
The valid inputs for boolean feature are numbers(0,1,2,...) and truth value(true, false). The valid inputs for label name are letters or combination of letters and numbers. | 2009/03/26
|
[edit] Calculate Four Arithmetic Operations Tests
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 | 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(a-z)), input2(pos, neg, 0, invalid(a-z)) ,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
|
[edit] Calculate Sin Test
Test case: sin
How to report results
| Stream | |||
|---|---|---|---|
| Category | Activity | Sub-category | calculate |
| Component | numbers | ||
| Feature | http://wiki.laptop.org/go/Calculate | ||
| Objective | passed | ||
| Tools | calculator and numbers | ||
| Setup | warning.pngEmpty strings are not accepted. | ||
| Procedure | 1. turn on the calculator.
2. click on number 1. 3. click on sin button. 4.click on = button. | ||
| Expected Results and Pass Criteria | number 0.8414 | ||
| Comments | test has passed. | ||
| Release | Stream | Build | Pass/Fail | Trac Ticket(s) | Comment(s) | Date of Test |
|---|
[edit] Calculate Division Test
Test case: division
How to report results
| Stream | |||
|---|---|---|---|
| Category | Activity | Sub-category | calculate |
| Component | numbers | ||
| Feature | http://wiki.laptop.org/go/Calculate | ||
| Objective | passed | ||
| Tools | calculator and numbers | ||
| Setup | warning.pngEmpty strings are not accepted. | ||
| Procedure | 1. turn on the calculator.
2. click on 6 button. 3. click on / button. 4. click on 2 button. 5. click on = button. | ||
| Expected Results and Pass Criteria | number 3. | ||
| Comments | test has passed. | ||
| Release | Stream | Build | Pass/Fail | Trac Ticket(s) | Comment(s) | Date of Test |
|---|
== Calculate Square Root Test ==
Test case: squareroot
How to report results
| Stream | |||
|---|---|---|---|
| Category | Activity | Sub-category | calculate |
| Component | numbers | ||
| Feature | http://wiki.laptop.org/go/Calculate | ||
| Objective | passed | ||
| Tools | calculater and numbers | ||
| Setup | warning.pngEmpty strings are not accepted. | ||
| Procedure | 1. turn on the calculator.
2. click on number 1. 3. click on number 6. 4. click on square root button. 5. click on = button. | ||
| Expected Results and Pass Criteria | number 4. | ||
| Comments | test has passed. | ||
| Release | Stream | Build | Pass/Fail | Trac Ticket(s) | Comment(s) | Date of Test |
|---|
[edit] Calculate Turn Off Test
Test case: turnoff
How to report results
| Stream | |||
|---|---|---|---|
| Category | Activity | Sub-category | calculate |
| Component | numbers | ||
| Feature | http://wiki.laptop.org/go/Calculate | ||
| Objective | passed | ||
| Tools | calculator and numbers | ||
| Setup | warning.pngEmpty strings are not accepted. | ||
| Procedure | 1. click on the exit button of the calculator application.
2. check whether the application is off or not. | ||
| Expected Results and Pass Criteria | application is off. | ||
| Comments | test has passed. | ||
| Release | Stream | Build | Pass/Fail | Trac Ticket(s) | Comment(s) | Date of Test |
|---|
| Build number | 760 +, 2 +, 12 +, warning.png"" is not a number. , 1 +, 9 +, and 3 + |
| Build stream | Any +info.pngLink to builds in stream, Packages in stream, ChangeLog, Differences vs joyride , 8.2 +info.pngLink to builds in stream, Packages in stream, ChangeLog, Differences vs joyride , Joyride +info.pngLink to builds in stream, Packages in stream, ChangeLog, Differences vs joyride , and warning.png"" cannot be used as a page name in this wiki. |
| Comments | calculate-24, 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., 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., warning.pngEmpty strings are not accepted. , alsdfjasjsadlfksaflsdfkaslfdds, TestInvalidInputs: We can not input letters(a-Z) to do algebra operation., TestValidInputs: When the input number is negative, root(x) of algebra operation produce error as expected. When a double input is used for x!, the result is zero., TestInvalidInputs: The invalid inputs for … TestInvalidInputs: The invalid inputs for boolean features are letters from a to z. The invalid inputs for label name are only symbols(&,+,=,and so on), numbers(1,2,...), and truth value(true, false). We can name labels by these invalid values, but once you call these labels, then we can not get the value of these labels stand for. The calculation still work out, but the result is not right as you expect to get. We think here is a bug for label.However, We have not done any test for calling invalid label in this test suite. Therefore, more tests are needed. t suite. Therefore, more tests are needed., TestValidInputs: The valid inputs for boolean feature are numbers(0,1,2,...) and truth value(true, false). The valid inputs for label name are letters or combination of letters and numbers., 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 | warning.pngThe date "" was not understood (support for dates is still experimental). , and 26 March 2009 + |
| More notes | warning.pngEmpty strings are not accepted. , test has passed., 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., The following is the test suite for algebr … The following is the test suite for algebra and constant test:inputs(invalid, int, double, constants), sign(+,-), algebra(x!,x^2,root(x)) Base on Pairwise, we count and build 9 test cases, and 1 test case by Myer's. We check the constants(pi, e) and use it by putting them as input values. We just test three of algebra operations, which are x!, x^2, root(x).More tests are needed to cover the other functions of the algebra feature. he other functions of the algebra feature., The following is the test sequence for tes … The following is the test sequence for testing boolean feature(And, Or, Equal, Not Equal) and creating label:input1(true, false, number, invalid), input2(true, false, number, invalid), boolean operators (AND(&), OR , EQUAL(=), NOT EQUAL(!=)), label (valid labels, invalid, no labels) Based on Pairwise, we use TConfig to count and produce 12 test cases. In addition, based on Myer's, we build 3 test cases for invalid inputs for the test suite. ses for invalid inputs for the test suite., and 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 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 | warning.pngEmpty strings are not accepted. , number 0.6663, 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., number 4., screen is clear., number 0.3010, number 2., calculator screen is open., number 1.5574, number 6., number 8., number 3., number 0.5143., number 0.5403, When using invalid inputs like letters, it is expected that the tests to fail by informing the user with an error message. When using valid inputs, it is expected that the tests will pass by returning the correct values., When testing invalid inputs, it was expected that tests will fail by informing the user by an error message. When testing valid inputs, it was expected that tests will pass returning the correct values., 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., number 0.8414, and application is off. |
| PassFail | Pass + |
| Short name | Calculate Activity +, cossin +, FourArithmeticOperationsTest +, square +, clear +, log +, subtraction +, turnon +, tan +, multiplication +, cube +, addition +, sincos +, cos +, AlgebraAndConstantTest +, BooleanAndLabelTest +, sin +, division +, squareroot +, and turnoff + |
| Software release | Candidate +, 7.1.0 (650) +, and warning.pngEmpty strings are not accepted. |
| System component | Calculate +, numbers +, and calculator and numbers + |
| System feature | http://wiki.laptop.org/go/Calculate +, and Tests/Activity/Calculate/SquareTest + |
| Test category | Activity + |
| Test objective | basic activity testing +, passed +, warning.pngEmpty strings are not accepted. , addition of numbers +, Test three functions for the algebra feature, also test the constants of the Calculate activity +, Test the boolean and the label features for the Calculate activity +, and Test the calculate activity basic functionalities + |
| Test procedure | # Activity installs from download (if not … # Activity installs from download (if not part of default installation) from website or USB key
2. type cos(sin(1)). 3. click on = button., 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, #turn on the calculator.
2. click on any number. 3. click on clear button., 1. turn on the calculator. 2. click on 2 button. 3. click on log button. 4. click on = button., 1. turn on the calculator. 2. click on number 5. 3. click on - button. 4. click on number 2. 5. click on = button., 1. click on the calculator icon on the desktop of OLPC laptop. 2. check whether application is opening or not. 3. type some numbers on the screen., 1. turn on the calculator. 2. click on number 1. 3. click on tan button. 4. click on = button., 1. turn on the calculator. 2. click on 2 button. 3. click on * button. 4. click on 3 button. 5. click on = button., 1. turn on the calculator. 2. click on 2 button. 3. click on x^3 button. 4. click on = button., 1. turn on the calculator. 2. click on 1 button. 3. click on + button. 4. click on 2 button. 5. click on = button, 1. turn on the calculator. 2. type sin(cos(1)). 3. click on = button or ans button., 1. turn on the calculator. 2. click on number 2. 3. click on cos button. 4. click on = button., 1. Open the XO machine 2. Run the Calculate Activity on XO machine 3. Test invalid inputs for algebra operation 4. Test valid inputs for algebra operation. Constants are checked and used as valid inputs., 1. Open the XO machine 2. Run the calculate activity on XO machine 3. Test invalid inputs 4. Test valid inputs, 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., 1. turn on the calculator. 2. click on number 1. 3. click on sin button. 4.click on = button., 1. turn on the calculator. 2. click on 6 button. 3. click on / button. 4. click on 2 button. 5. click on = button., 1. turn on the calculator. 2. click on number 1. 3. click on number 6. 4. click on square root button. 5. click on = button., and 1. click on the exit button of the calculator application. 2. check whether the application is off or not. |
| Test setup | n/a, and warning.pngEmpty strings are not accepted. |
| Test subcategory | Calculate +, calculate +, and addition + |
| Test tools | n/a +, calculator and numbers +, calculater and numbers +, and calculator an dnumbers + |

