Test Purpose |
Verify that numbers in the editor can be edited before applying an operation.. |
---|---|
Test
Description |
|
Expected
TestResult |
All the verification steps as
described in the Test Description must be met. |
Testnorm/Criteria |
Exact Match, For floating point numbers a rounding may take place. |
Test
Suitability |
Manual test |
Test Purpose |
Verify that binary operations work correctly. |
---|---|
Test
Description |
|
Expected
TestResult |
All the verification steps as
described in the Test Description must be met. |
Testnorm/Criteria |
Exact Match |
Test
Suitability |
Manual test |
Input data 1 | operator | Input data 2 | Expected result |
---|---|---|---|
0 | + |
0 |
0 |
0 |
+ |
1 |
1 |
-2 | + | 1 | -1 |
-0.56789 |
+ |
7 |
6.43211 |
6 |
+ |
-3 |
3 |
0 |
- |
0 |
0 |
1 |
- |
5 |
-4 |
9 |
- |
-9 |
18 |
255 |
- |
1 |
254 |
0.3456 |
- |
1.345 |
-0.9994 |
5 |
/ |
0 |
Infinity |
10 |
/ |
1 |
10 |
8 |
/ |
0.1 |
80 |
1024 |
/ |
0.25 |
4096 |
3.43758 |
/ |
-2.45 |
-1.40309387755102 |
482 |
* |
5.67 |
2732.94 |
10 |
* |
0 |
0 |
65598 |
* |
-0.1 |
-6559,8 |
-2 |
* |
-5.25 |
10.5 |
-834759 |
* |
2984205 |
-2491091981595 |
1 |
x^y |
1 |
1 |
1 |
x^y |
2 |
1 |
0 |
x^y |
2 |
0 |
2 |
x^y |
8 |
256 |
16 |
x^y |
2 |
256 |
2 |
x^y |
16 |
65536 |
Test Purpose |
Verify that the keyboard can be used to enter values and that simple operations can be executed using the keyboard. |
---|---|
Test
Description |
|
Expected
TestResult |
All the verification steps as
described in the Test Description must be met. |
Testnorm/Criteria |
Exact Match |
Test
Suitability |
Manual test |
Test Purpose |
Verify the memory store, recall and clear functions. |
---|---|
Test
Description |
|
Expected
TestResult |
All the verification steps as
described in the Test Description must be met. |
Testnorm/Criteria |
Exact Match |
Test
Suitability |
Manual test |
Test Purpose |
Verify that the last used plugin is loaded again the next time Calculator is started |
---|---|
Test
Description |
|
Expected
TestResult |
All the verification steps as
described in the Test Description must be met. |
Testnorm/Criteria |
Exact Match |
Test
Suitability |
Manual test |
Test Purpose |
Verify that unary operations in scientific mode work correctly. |
---|---|
Test
Description |
|
Expected
TestResult |
All the verification steps as
described in the Test Description must be met. |
Testnorm/Criteria |
Exact Match |
Test
Suitability |
Manual test |
Input data | operator | Expected result |
---|---|---|
9 |
sqrt |
3 |
3 |
sqrt |
1.732050807568877 |
-1 |
sqrt |
Not a number |
2 |
ln |
0.6931471805599453 |
255 | ln |
5.541263545158426 |
-1 |
ln |
Not a number |
1 |
+/- |
-1 |
0 |
n! |
1 |
1 |
n! |
1 |
4 |
n! |
24 |
100 |
n! |
9.332621544394418e+157 |
-1 |
n! |
Not a positive number |
0 |
x^2 |
0 |
1 |
x^2 |
1 |
2 |
x^2 |
4 |
254 |
x^2 |
64516 |
123456789 |
x^2 |
1.524157875019052e+16 |
987654321 |
x^2 |
9.754610577899711e+17 |
0 |
e^x |
1 |
1 |
e^x |
2.718281828459045 |
2 |
e^x |
7.38905609893065 |
255 |
e^x |
5.560231647727676e+110 |
-1 |
e^x |
0.3678794411714423 |
-10 |
e^x |
4.539992976248485e-05 |
0 |
1/x |
Infinity |
1 |
1/x |
1 |
2 |
1/x |
0.5 |
0 |
sin |
0 |
1.570796326794895 (1/2 PI) |
sin |
1 |
0.7853981633974475 (1/4 PI) |
sin |
0.7071067811865469 |
3.14159265358979 (PI) |
sin |
3.231089148865173e-15
(approximates 0) |
-1.570796326794895 (-1/2 PI) | sin |
-1 |
-0.7853981633974475 (-1/4 PI) | sin |
-0.7071067811865469 |
1 |
asin |
1.570796326794897 |
-1 |
asin |
-1.570796326794897 |
0 |
cos |
1 |
1.570796326794895 (1/2 PI) | cos |
1.615544574432587e-15
(approximates 0) |
0.7853981633974475 (1/4 PI) | cos |
0.7071067811865481 |
3.14159265358979 (PI) | cos |
-1 |
3.926990816987237 |
cos |
-0.7071067811865505 |
Test Purpose |
Verify that the standard
calculator provides the simple and scientific plugins |
---|---|
Test
Description |
|
Expected
TestResult |
All the verification steps as
described in the Test Description must be met. |
Testnorm/Criteria |
Exact Match |
Test
Suitability |
Manual test |