moodle/question/behaviour
Eloy Lafuente (stronk7) 6be384ee8f MDL-75757 phpunit: Add some tolerance to a few failing assertions
Recently, PHPUnit (all versions) did some changes about how the
comparators worked and this has caused some float comparisons
to stop working.

We need to move them to assertEqualsWithDelta(), allowing a small
tolerance to workaround the floats comparison problem.

0.00001 has been decided. And applied to all the similar assertions
within the unittest function, so if more cases are added to them
better be copied with the agreed tolerance.
2022-09-18 15:55:36 +02:00
..
adaptive MDL-74471 versions: bump all versions and requires near release 2022-04-13 10:37:36 +08:00
adaptivenopenalty MDL-74471 versions: bump all versions and requires near release 2022-04-13 10:37:36 +08:00
deferredcbm MDL-75757 phpunit: Add some tolerance to a few failing assertions 2022-09-18 15:55:36 +02:00
deferredfeedback MDL-74471 versions: bump all versions and requires near release 2022-04-13 10:37:36 +08:00
immediatecbm MDL-74471 versions: bump all versions and requires near release 2022-04-13 10:37:36 +08:00
immediatefeedback MDL-74471 versions: bump all versions and requires near release 2022-04-13 10:37:36 +08:00
informationitem MDL-74471 versions: bump all versions and requires near release 2022-04-13 10:37:36 +08:00
interactive MDL-74471 versions: bump all versions and requires near release 2022-04-13 10:37:36 +08:00
interactivecountback MDL-74471 versions: bump all versions and requires near release 2022-04-13 10:37:36 +08:00
manualgraded MDL-71747 upgrade: remove all the < 3.9.0 upgrade steps 2022-07-07 19:16:37 +02:00
missing MDL-74471 versions: bump all versions and requires near release 2022-04-13 10:37:36 +08:00
behaviourbase.php MDL-69246 questions: allow for float issues when validating manual marks 2020-08-27 17:37:31 +01:00
behaviourtypebase.php MDL-40992 qbehaviour: new type method, can Qs can finish naturally 2015-03-26 17:46:48 +00:00
rendererbase.php MDL-70134 manual grading: make starting comment box size 3 lines 2021-01-18 09:13:56 +00:00
upgrade.txt MDL-72958 questions: tidy up all question-related upgrade.txt files 2022-03-22 14:53:43 +00:00