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

testMeanSingleAxis1() public méthode

Tests if InvalidArgumentException will be thrown by using NumArray::mean and a wrong axis on a scalar value
public testMeanSingleAxis1 ( )
    public function testMeanSingleAxis1()
    {
        $numArray = new NumArray(5);
        $numArray->mean(1);
    }