NumPHPTest\Core\NumArray\GetTest::testGet3x4ArgsSlicex3 PHP 메소드

testGet3x4ArgsSlicex3() 공개 메소드

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));
    }