public function testRepeatQuota() { $gen = new MersenneRandom(703); $scope = new Scope('scope1'); $scope->setMinOccurances(1); $scope->setMaxOccurances(6); $this->assertEquals(3, $scope->calculateRepeatQuota($gen)); }
public function testRepeatQuota() { $gen = new MersenneRandom(703); $scope = new Scope('scope1'); $scope->setMinOccurances(1); $scope->setMaxOccurances(6); $this->assertEquals(3, $scope->calculateRepeatQuota($gen)); }