MathPHP\Probability\CombinatoricsTest::testPermutationsChooseK PHP Méthode

testPermutationsChooseK() public méthode

public testPermutationsChooseK ( $n, $k, $nPk )
    public function testPermutationsChooseK($n, $k, $nPk)
    {
        $this->assertEquals($nPk, Combinatorics::permutations($n, $k));
    }