NumPHPTest\Core\NumArray\GetTest::testGet2x4Args1x2 PHP Method

testGet2x4Args1x2() public method

Tests NumArray::get with argument 1, 2 on matrix
public testGet2x4Args1x2 ( )
    public function testGet2x4Args1x2()
    {
        $numArray = NumPHP::arange(1, 8)->reshape(2, 4);
        $expectedNumArray = new NumArray(7);
        $this->assertNumArrayEquals($expectedNumArray, $numArray->get(1, 2));
    }