Differences Between: [Versions 310 and 311] [Versions 310 and 400] [Versions 310 and 401] [Versions 310 and 402] [Versions 310 and 403] [Versions 39 and 310]
Unit tests for course.
Copyright: | 2016 David MonllaĆ³ {@link http://www.davidmonllao.com} |
License: | http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later |
File Size: | 149 lines (6 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
core_analytics_course_testcase:: (5 methods):
setUp()
test_users()
test_course_validation()
time_greater_than()
time_less_than()
Class: core_analytics_course_testcase - X-Ref
Unit tests for course.setUp() X-Ref |
No description |
test_users() X-Ref |
Users tests. |
test_course_validation() X-Ref |
Course validation tests. return: void |
time_greater_than($time) X-Ref |
Get the minimum time that is considered valid according to guess_end logic. param: int $time return: int |
time_less_than($time) X-Ref |
Get the maximum time that is considered valid according to guess_end logic. param: int $time return: int |