NumPHPTest\Core\NumArray\GetTest::testGet3x4ArgsSlicex3 PHP Méthode

testGet3x4ArgsSlicex3() public méthode

Tests NumArray::get with slicing argument :, 2 on matrix
    public function testGet3x4ArgsSlicex3()
    {
        $numArray = NumPHP::arange(1, 12)->reshape(3, 4);
        $expectedNumArray = new NumArray([3, 7, 11]);
        $this->assertNumArrayEquals($expectedNumArray, $numArray->get(':', 2));
    }