public function testSumMatrix2x3x4Axis2() { $numArray = NumPHP::arange(1, 24)->reshape(2, 3, 4); $expectedNumArray = NumPHP::arange(10, 90, 16)->reshape(2, 3); $this->assertNumArrayEquals($expectedNumArray, $numArray->sum(2)); }