GT: Answer test results
This page exposes the results of running answer tests on STACK test cases. This page is automatically generated from the STACK unit tests and is designed to show question authors what answer tests actually do. This includes cases where answer tests currentl fail, which gives a negative expected mark. Comments and further test cases are very welcome.
GT
Test | ? | Student response | Teacher answer | Opt | Mark | Answer note | |
---|---|---|---|---|---|---|---|
GT | 1/0 |
1 |
-1 | ATGT_STACKERROR_SAns. | |||
TEST_FAILED | |||||||
The answer test failed to execute correctly: please alert your teacher. Division by zero. | |||||||
GT | 1 |
1/0 |
-1 | ATGT_STACKERROR_TAns. | |||
TEST_FAILED | |||||||
The answer test failed to execute correctly: please alert your teacher. Division by zero. | |||||||
GT | 1 |
1 |
0 | ATGT_false. | |||
GT | 2 |
1 |
1 | ATGT_true. | |||
GT | 1 |
2.1 |
0 | ATGT_false. | |||
GT | pi |
3 |
1 | ATGT_true. | |||
GT | pi+2 |
5 |
1 | ATGT_true. | |||
Infinity | |||||||
GT | -inf |
0 |
0 | Not number | |||
GT | inf |
0 |
0 | Not number | |||