Línea 64... |
Línea 64... |
64 |
*
|
64 |
*
|
65 |
* Since these methods need an expensive set-up, and then only do read-only
|
65 |
* Since these methods need an expensive set-up, and then only do read-only
|
66 |
* operations on the data, we use a single method to do the set-up, which
|
66 |
* operations on the data, we use a single method to do the set-up, which
|
67 |
* calls diffents methods to test each query.
|
67 |
* calls diffents methods to test each query.
|
68 |
*/
|
68 |
*/
|
69 |
public function test_reporting_queries() {
|
69 |
public function test_reporting_queries(): void {
|
70 |
// We create two usages, each with two questions, a short-answer marked
|
70 |
// We create two usages, each with two questions, a short-answer marked
|
71 |
// out of 5, and and essay marked out of 10.
|
71 |
// out of 5, and and essay marked out of 10.
|
72 |
//
|
72 |
//
|
73 |
// In the first usage, the student answers the short-answer
|
73 |
// In the first usage, the student answers the short-answer
|
74 |
// question correctly, and enters something in the essay.
|
74 |
// question correctly, and enters something in the essay.
|