/** * Tests NumArray::min with a matrix and argument 1 */ public function testMinMatrixAxis1() { $numArray = new NumArray([[34, 346, -12], [56, -78, 12], [345, -6, 99]]); $expectedNumArray = new NumArray([-12, -78, -6]); $this->assertNumArrayEquals($expectedNumArray, $numArray->min(1)); }