Tests/Activity/Calculate/AlgebraAndConstantTest: Difference between revisions
(New page: {{Test case |testcase_name=AlgebraAndConstantTest |testcase_category=Activity |testcase_subcategory=Calculate |testcase_stream=8.2 |testcase_build=10 |testcase_component=Calculate |testcas...) |
mNo edit summary |
||
(3 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
'''This page is obsolete. The information has been merged into[http://wiki.laptop.org/go/Tests/Activity/CalculateTests].''' {{delete}}{{deprecated}} |
|||
{{Test case |
{{Test case |
||
|testcase_name=AlgebraAndConstantTest |
|testcase_name=AlgebraAndConstantTest |
||
Line 7: | Line 9: | ||
|testcase_component=Calculate |
|testcase_component=Calculate |
||
|testcase_feature=http://wiki.laptop.org/go/Calculate |
|testcase_feature=http://wiki.laptop.org/go/Calculate |
||
|testcase_objective=Test |
|testcase_objective=Test three functions for the algebra feature, also test the constants of the Calculate activity |
||
|testcase_tools=n/a |
|testcase_tools=n/a |
||
|testcase_setup=n/a |
|testcase_setup=n/a |
||
|testcase_procedure=1. Open the XO machine |
|testcase_procedure=1. Open the XO machine |
||
2. Run the Calculate Activity on XO machine |
2. Run the Calculate Activity on XO machine |
||
3. Test invalid inputs for algebra operation |
3. Test invalid inputs for algebra operation |
||
4. Test valid inputs for algebra operation. Constants are checked and used as valid inputs. |
4. Test valid inputs for algebra operation. Constants are checked and used as valid inputs. |
||
|testcase_expectedresults=When using invalid inputs like letters, the |
|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, |
When using valid inputs, it is expected that the tests will pass by returning the correct values. |
||
|testcase_comments=The following is the test |
|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)) |
inputs(invalid, int, double, constants), sign(+,-), algebra(x!,x^2,root(x)) |
||
Base on Pairwise, we count and build |
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). |
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. |
||
}} |
}} |
||
{{Test results begin}} |
{{Test results begin}} |
||
Line 30: | Line 34: | ||
|testresult_comments=TestInvalidInputs: |
|testresult_comments=TestInvalidInputs: |
||
We can not input letters(a-Z) to do algebra operation. |
We can not input letters(a-Z) to do algebra operation. |
||
|testresult_date=2009/03/26 |
|||
}} |
}} |
||
{{Test results |
{{Test results |
||
Line 37: | Line 42: | ||
|testresult_passfail=Pass |
|testresult_passfail=Pass |
||
|testresult_comments=TestValidInputs: |
|testresult_comments=TestValidInputs: |
||
When the input number is negative, root(x) of algebra operation produce error |
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. |
|||
|testresult_date=2009/03/26 |
|||
}} |
}} |
||
{{Test results end}} |
{{Test results end}} |
Latest revision as of 00:56, 10 March 2012
This page is obsolete. The information has been merged into[1].
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. |
|