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...) |
No edit summary |
||
Line 7: | Line 7: | ||
|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 the part of algebra feature and constants of calculate activity doing well or not |
|testcase_objective=Test the part of algebra feature and constants of calculate activity doing well or not |
||
|testcase_tools=n/a |
|testcase_tools=n/a |
||
|testcase_setup=n/a |
|testcase_setup=n/a |
||
Line 30: | Line 30: | ||
|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 38: | Line 39: | ||
|testresult_comments=TestValidInputs: |
|testresult_comments=TestValidInputs: |
||
When the input number is negative, root(x) of algebra operation produce error. When the input number is very small like -e or -0.2222 for x!, the result is zero. |
When the input number is negative, root(x) of algebra operation produce error. When the input number is very small like -e or -0.2222 for x!, the result is zero. |
||
|testresult_date=2009/03/26 |
|||
}} |
}} |
||
{{Test results end}} |
{{Test results end}} |
Revision as of 03:11, 26 March 2009
Stream | ,|x|Build stream::x}} | ||
---|---|---|---|
Category | Test category::Activity | Sub-category | Test subcategory::Calculate |
Component | System component::Calculate | ||
Feature | System feature::http://wiki.laptop.org/go/Calculate | ||
Objective | Test objective::Test the part of algebra feature and constants of calculate activity doing well or not | ||
Tools | Test tools::n/a | ||
Setup | Test setup::n/a | ||
Procedure | [[Test 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 |
[[Pass criteria::When using invalid inputs like letters, the algebra operation should do not work out.
When using valid inputs, the activity should work out the right results. For root(x), if the x is negative number, then the calculation should work out with error.]] | ||
Comments | [[More notes::The following is the test sequence for algebra and constant test:
inputs(invalid, int, double, constants), sign(+,-), algebra(x!,x^2,root(x)) Base on Pairwise, we count and build 10 test cases, and one of ten is built 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). For others of the algebra feature, we need more tests to do.]] |
Release | Stream | Build | Pass/Fail | Trac Ticket(s) | Comment(s) | Date of Test |
---|---|---|---|---|---|---|
Software release::Candidate | Build stream::8.2 | Build number::1 | PassFail::Pass | ,|x| #x}} | [[Comments::TestInvalidInputs:
We can not input letters(a-Z) to do algebra operation.]] |
Created::2009/03/26
|
Software release::Candidate | Build stream::8.2 | Build number::9 | PassFail::Pass | ,|x| #x}} | [[Comments::TestValidInputs:
When the input number is negative, root(x) of algebra operation produce error. When the input number is very small like -e or -0.2222 for x!, the result is zero.]] |
Created::2009/03/26
|