Toggle navigation
Hot Examples
FR
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Rechercher
Accueil
NsplTest
RndTest
testSampleOfPopulationLessThanLength
NsplTest\RndTest::testSampleOfPopulationLessThanLength PHP Méthode
RndTest Class Documentation
Afficher le fichier
Open project: ihor/Nspl
testSampleOfPopulationLessThanLength()
public
méthode
public
testSampleOfPopulationLessThanLength
( )
public function testSampleOfPopulationLessThanLength() { sample(['a', 'b', 'c'], 4); }
RndTest
testChoice
testChoiceFromEmptySequence
testSample
testSampleOfPopulationLessThanLength
testWeightedChoice
testWeightedChoiceFromEmptySequence
testWeightedChoiceWithNonIntegerWeights