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