You are here

public function MatchingUnitTest::getRandSize in Quiz 7

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

File

question_types/matching/matching.test, line 30
Unit tests for the matching Module.

Class

MatchingUnitTest
@file Unit tests for the matching Module.

Code

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