mirror of
https://github.com/moodle/moodle.git
synced 2025-01-17 21:49:15 +01:00
de3d216c5a
As well as fixing the bug, I also rewrote the test to use data providers, which should lead to more useful failure messages. And, I moved the magic number we used as the float tolerence to be a named constant.