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