You are here

public function LongAnswerUnitTest::testEvaluateQuestion in Quiz 7.4

Same name and namespace in other branches
  1. 6.6 question_types/long_answer/long_answer.test \LongAnswerUnitTest::testEvaluateQuestion()
  2. 6.3 question_types/long_answer/long_answer.test \LongAnswerUnitTest::testEvaluateQuestion()
  3. 6.4 question_types/long_answer/long_answer.test \LongAnswerUnitTest::testEvaluateQuestion()
  4. 6.5 question_types/long_answer/long_answer.test \LongAnswerUnitTest::testEvaluateQuestion()
  5. 7 question_types/long_answer/long_answer.test \LongAnswerUnitTest::testEvaluateQuestion()

The main callback for answering a question.

File

question_types/long_answer/long_answer.test, line 232
Unit tests for the long_answer Module.

Class

LongAnswerUnitTest
Unit tests for the long_answer Module. @file

Code

public function testEvaluateQuestion() {

  //$result = long_answer_evaluate_question($question, 1);

  //$this->assertTrue((count($result) > 0), t('See if a result was returned from the evaluator.'));

  //$this->assertEqual($result->is_correct, 0, t('Test that answer was not marked correct.'));
}