Tests/Activity/Calculate/AlgebraAndConstantTest

From OLPC

Jump to: navigation, search

This page is obsolete. The information has been merged into[1].

  Image:Trashcan.png 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.
Stop hand.png WARNING:
The content of this section is considered
DEPRECATED and OBSOLETE
It is preserved for historical or documenting reasons.


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


Facts about Tests/Activity/Calculate/AlgebraAndConstantTestRDF feed
Build number 1  +, and 9  +
Build stream 8.2  +info.pngLink to builds in stream, Packages in stream, ChangeLog, Differences vs joyride
Comments TestInvalidInputs:

We can not input letters(a-Z) to do algebra operation., and 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.
Created 26 March 2009  +
More notes 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.
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.
PassFail Pass  +
Short name AlgebraAndConstantTest  +
Software release Candidate  +
System component Calculate  +
System feature http://wiki.laptop.org/go/Calculate  +
Test category Activity  +
Test objective Test three functions for the algebra feature, also test the constants of the Calculate activity  +
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.
Test setup n/a
Test subcategory Calculate  +
Test tools n/a  +
Personal tools
  • Log in
  • Login with OpenID
About OLPC
About the laptop
About the tablet
Projects
OLPC wiki
Toolbox
In other languages