public testGet3x4Args1Slice3 ( ) |
public function testGet3x4Args1Slice3()
{
$numArray = NumPHP::arange(1, 12)->reshape(3, 4);
$expectedNumArray = new NumArray([[7, 8], [11, 12]]);
$this->assertNumArrayEquals($expectedNumArray, $numArray->get('1:3', '2:4'));
}