NumPHPTest\Core\NumArray\Reduce\MeanTest::testMeanMatrixAxis2 PHP Méthode

testMeanMatrixAxis2() public méthode

Tests if InvalidArgumentException will be thrown by using NumArray::mean and a wrong axis on a matrix
public testMeanMatrixAxis2 ( )
    public function testMeanMatrixAxis2()
    {
        $numArray = NumPHP::arange(1, 4)->reshape(2, 2);
        $numArray->mean(2);
    }