123456789101112131415161718192021222324252627282930313233343536373839404142 |
- <?php
- require_once api_get_path(SYS_CODE_PATH).'exercice/question.class.php';
- class TestExerciseLib extends UnitTestCase {
-
-
- function testshowQuestion() {
- global $_course;
- $questionId = 1;
- $current_item = 1 ;
- $total_item = 1;
-
- $res = ExerciseLib::showQuestion($questionId, $onlyAnswers=false, $origin=false,$current_item, $total_item);
- $this->assertTrue(is_null($res));
- var_dump($res);
- }
- }
- ?>
|