public function ShortAnswerUnitTest::getRandSize in Quiz 7.4
Same name and namespace in other branches
- 6.6 question_types/short_answer/short_answer.test \ShortAnswerUnitTest::getRandSize()
- 6.4 question_types/short_answer/short_answer.test \ShortAnswerUnitTest::getRandSize()
- 7 question_types/short_answer/short_answer.test \ShortAnswerUnitTest::getRandSize()
2 calls to ShortAnswerUnitTest::getRandSize()
- ShortAnswerUnitTest::createShortAnswerQuestion in question_types/
short_answer/ short_answer.test - ShortAnswerUnitTest::setUp in question_types/
short_answer/ short_answer.test - Sets up a Drupal site for running functional and integration tests.
File
- question_types/
short_answer/ short_answer.test, line 73
Class
Code
public function getRandSize() {
return mt_rand($this->min, $this->max);
}