Warning: You are not logged in. Your IP address will be recorded in this page's edit history.
Tested Stream: joyride staging update.1 ship.2 8.2 8.2.1 10.1 11.2 Any
Tested Build:
Pass or Fail: Pass Fail
Associated trac tickets:
Comments: calculate-24
Today's Date: January February March April May June July August September October November December
Comments: 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.
Comments: 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.
Comments:
Comments: alsdfjasjsadlfksaflsdfkaslfdds
Comments: TestInvalidInputs: We can not input letters(a-Z) to do algebra operation.
Comments: 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.
Comments: 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.
Comments: 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.
Comments: 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.
Comments: 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.
Click the button just above this section to add more results.
Free text:
This '''Calculate Tests''' page is an amalgamation of test of the Calculate feature tests. Most of the tests date from 2009. == Calculate Activity Test == == Calculate CosSin Test == {{Test case |testcase_name=cossin |testcase_category=Activity |testcase_subcategory=calculate |testcase_component=numbers |testcase_feature=http://wiki.laptop.org/go/Calculate |testcase_objective=passed |testcase_tools=calculator and numbers |testcase_procedure=1. turn on the calculator. 2. type cos(sin(1)). 3. click on = button. |testcase_expectedresults=number 0.6663 |testcase_comments=test has passed. }} == Calculate Plus Test == {{Test case |testcase_name=FourArithmeticOperationsTest |testcase_category=Activity |testcase_subcategory=Calculate |testcase_stream=8.2 |testcase_component=Calculate |testcase_feature=http://wiki.laptop.org/go/Calculate |testcase_tools=n/a |testcase_setup=n/a |testcase_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 |testcase_expectedresults=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. |testcase_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. }} == Calculate Square Test == {{Test case |testcase_name=square |testcase_category=Activity |testcase_subcategory=calculate |testcase_component=numbers |testcase_feature=Tests/Activity/Calculate/SquareTest |testcase_objective=passed |testcase_tools=calculater and numbers |testcase_procedure= #turn on the calculator. #click on 2 button. #click on x^2 button. #click on = button. |testcase_expectedresults=number 4. |testcase_comments=test has passed. }} == Calculate Clear Test == {{Test case |testcase_name=clear |testcase_category=Activity |testcase_subcategory=calculate |testcase_component=numbers |testcase_feature=http://wiki.laptop.org/go/Calculate |testcase_objective=passed |testcase_tools=calculator and numbers |testcase_procedure=1. turn on the calculator. 2. click on any number. 3. click on clear button. |testcase_expectedresults=screen is clear. |testcase_comments=test has passed. }} == Calculate Log Test == {{Test case |testcase_name=log |testcase_category=Activity |testcase_subcategory=calculate |testcase_component=numbers |testcase_feature=http://wiki.laptop.org/go/Calculate |testcase_objective=passed |testcase_tools=calculator and numbers |testcase_procedure=1. turn on the calculator. 2. click on 2 button. 3. click on log button. 4. click on = button. |testcase_expectedresults=number 0.3010 |testcase_comments=test has passed. }} == Calculate Subtraction Tests == {{Test case |testcase_name=subtraction |testcase_category=Activity |testcase_subcategory=calculate |testcase_component=numbers |testcase_feature=http://wiki.laptop.org/go/Calculate |testcase_objective=passed |testcase_tools=calculator and numbers |testcase_procedure=1. turn on the calculator. 2. click on number 5. 3. click on - button. 4. click on number 2. 5. click on = button. |testcase_expectedresults=number 2. |testcase_comments=test has passed. }} == Calculate Turn On Test == {{Test case |testcase_name=turnon |testcase_category=Activity |testcase_subcategory=calculate |testcase_component=numbers |testcase_feature=http://wiki.laptop.org/go/Calculate |testcase_objective=passed |testcase_tools=calculator and numbers |testcase_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. |testcase_expectedresults=calculator screen is open. |testcase_comments=test has passed. }} == Calculate Tan Test == {{Test case |testcase_name=tan |testcase_category=Activity |testcase_subcategory=calculate |testcase_component=numbers |testcase_feature=http://wiki.laptop.org/go/Calculate |testcase_objective=passed |testcase_tools=calculator and numbers |testcase_procedure=1. turn on the calculator. 2. click on number 1. 3. click on tan button. 4. click on = button. |testcase_expectedresults=number 1.5574 |testcase_comments=test has passed. }} == Calculate Multiplication Test == {{Test case |testcase_name=multiplication |testcase_category=Activity |testcase_subcategory=calculate |testcase_component=numbers |testcase_feature=http://wiki.laptop.org/go/Calculate |testcase_objective=passed |testcase_tools=calculator and numbers |testcase_procedure=1. turn on the calculator. 2. click on 2 button. 3. click on * button. 4. click on 3 button. 5. click on = button. |testcase_expectedresults=number 6. |testcase_comments=test has passed. }} == Calculate Cube Test == {{Test case |testcase_name=cube |testcase_category=Activity |testcase_subcategory=calculate |testcase_component=numbers |testcase_feature=http://wiki.laptop.org/go/Calculate |testcase_objective=passed |testcase_tools=calculator and numbers |testcase_procedure=1. turn on the calculator. 2. click on 2 button. 3. click on x^3 button. 4. click on = button. |testcase_expectedresults=number 8. |testcase_comments=test has passed. }} == Calculate Addition Test == {{Test case |testcase_name=addition |testcase_category=Activity |testcase_subcategory=addition |testcase_component=calculator and numbers |testcase_feature=http://wiki.laptop.org/go/Calculate |testcase_objective=addition of numbers |testcase_tools=calculator and numbers |testcase_procedure=1. turn on the calculator. 2. click on 1 button. 3. click on + button. 4. click on 2 button. 5. click on = button |testcase_expectedresults=number 3. |testcase_comments=test has passed. }} == Calculate SinCos Test == {{Test case |testcase_name=sincos |testcase_category=Activity |testcase_subcategory=calculate |testcase_component=numbers |testcase_feature=http://wiki.laptop.org/go/Calculate |testcase_objective=passed |testcase_tools=calculator and numbers |testcase_procedure=1. turn on the calculator. 2. type sin(cos(1)). 3. click on = button or ans button. |testcase_expectedresults=number 0.5143. |testcase_comments=test has passed. }} == Calculate Cos Test == {{Test case |testcase_name=cos |testcase_category=Activity |testcase_subcategory=calculate |testcase_component=numbers |testcase_feature=http://wiki.laptop.org/go/Calculate |testcase_objective=passed |testcase_tools=calculator an dnumbers |testcase_procedure=1. turn on the calculator. 2. click on number 2. 3. click on cos button. 4. click on = button. |testcase_expectedresults=number 0.5403 |testcase_comments=test has passed. }} == Calculate Algebra and Constant Test == {{Test case |testcase_name=AlgebraAndConstantTest |testcase_category=Activity |testcase_subcategory=Calculate |testcase_stream=8.2 |testcase_build=10 |testcase_component=Calculate |testcase_feature=http://wiki.laptop.org/go/Calculate |testcase_objective=Test three functions for the algebra feature, also test the constants of the Calculate activity |testcase_tools=n/a |testcase_setup=n/a |testcase_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. |testcase_expectedresults=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. |testcase_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. }} == Boolean and Label Test == {{Test case |testcase_name=BooleanAndLabelTest |testcase_category=Activity |testcase_subcategory=Calculate |testcase_stream=8.2 |testcase_build=15 |testcase_component=Calculate |testcase_feature=http://wiki.laptop.org/go/Calculate |testcase_objective=Test the boolean and the label features for the Calculate activity |testcase_tools=n/a |testcase_setup=n/a |testcase_procedure=1. Open the XO machine 2. Run the calculate activity on XO machine 3. Test invalid inputs 4. Test valid inputs |testcase_expectedresults=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. |testcase_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. }} == Calculate Four Arithmetic Operations Tests == {{Test case |testcase_name=FourArithmeticOperationsTest |testcase_category=Activity |testcase_subcategory=Calculate |testcase_stream=8.2 |testcase_component=Calculate |testcase_feature=http://wiki.laptop.org/go/Calculate |testcase_objective=Test the calculate activity basic functionalities |testcase_tools=n/a |testcase_setup=n/a |testcase_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. |testcase_expectedresults=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. |testcase_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. }} == Calculate Sin Test == {{Test case |testcase_name=sin |testcase_category=Activity |testcase_subcategory=calculate |testcase_component=numbers |testcase_feature=http://wiki.laptop.org/go/Calculate |testcase_objective=passed |testcase_tools=calculator and numbers |testcase_procedure=1. turn on the calculator. 2. click on number 1. 3. click on sin button. 4.click on = button. |testcase_expectedresults=number 0.8414 |testcase_comments=test has passed. }} == Calculate Division Test == {{Test case |testcase_name=division |testcase_category=Activity |testcase_subcategory=calculate |testcase_component=numbers |testcase_feature=http://wiki.laptop.org/go/Calculate |testcase_objective=passed |testcase_tools=calculator and numbers |testcase_procedure=1. turn on the calculator. 2. click on 6 button. 3. click on / button. 4. click on 2 button. 5. click on = button. |testcase_expectedresults=number 3. |testcase_comments=test has passed. }} == Calculate Square Root Test == {{Test case |testcase_name=squareroot |testcase_category=Activity |testcase_subcategory=calculate |testcase_component=numbers |testcase_feature=http://wiki.laptop.org/go/Calculate |testcase_objective=passed |testcase_tools=calculater and numbers |testcase_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. |testcase_expectedresults=number 4. |testcase_comments=test has passed. }} == Calculate Turn Off Test == {{Test case |testcase_name=turnoff |testcase_category=Activity |testcase_subcategory=calculate |testcase_component=numbers |testcase_feature=http://wiki.laptop.org/go/Calculate |testcase_objective=passed |testcase_tools=calculator and numbers |testcase_procedure=1. click on the exit button of the calculator application. 2. check whether the application is off or not. |testcase_expectedresults=application is off. |testcase_comments=test has passed. }}
Summary::
This is a minor edit Watch this page
Cancel