You are here

public function ChoiceTestCase::getRandSize in Quiz 7

Same name and namespace in other branches
  1. 6.6 question_types/choice/choice.test \ChoiceTestCase::getRandSize()
  2. 6.4 question_types/multichoice/multichoice.test \ChoiceTestCase::getRandSize()
  3. 7.4 question_types/multichoice/multichoice.test \ChoiceTestCase::getRandSize()
1 call to ChoiceTestCase::getRandSize()
ChoiceTestCase::setUp in question_types/multichoice/multichoice.test
Sets up a Drupal site for running functional and integration tests.

File

question_types/multichoice/multichoice.test, line 31

Class

ChoiceTestCase

Code

public function getRandSize() {
  return mt_rand($this->min, $this->max);
}