Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Pado
Asyst Moodle Plugin
Commits
d0b18af8
Commit
d0b18af8
authored
Sep 08, 2024
by
Artem Baranovskyi
Browse files
Small roll-up and test fix.
parent
72d61108
Changes
1
Show whitespace changes
Inline
Side-by-side
asystgrade/tests/quiz_api_test.php
View file @
d0b18af8
...
@@ -244,6 +244,7 @@ class quiz_api_test extends advanced_testcase
...
@@ -244,6 +244,7 @@ class quiz_api_test extends advanced_testcase
// Check the result
// Check the result
$this
->
assertNotEmpty
(
$grades
);
$this
->
assertNotEmpty
(
$grades
);
$this
->
assertEquals
(
$grades
[
0
][
'predicted_grade'
],
'correct'
);
$this
->
assertEquals
(
$grades
[
0
][
'predicted_grade'
],
'correct'
);
$this
->
assertEquals
(
$grades
[
5
][
'predicted_grade'
],
'incorrect'
);
$this
->
assertEquals
(
$grades
[
6
][
'predicted_grade'
],
'incorrect'
);
$this
->
assertEquals
(
$grades
[
6
][
'predicted_grade'
],
'incorrect'
);
}
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment