--TEST-- Test for methods `fill()` and `imbue()`. --SKIPIF-- --FILE-- fill(5); batch_assert('method `fill()`', [5, $mat->max()], [5, $mat->min()] ); $cnt = 0; $mat1 = Arma\IMat::fromArray([ [1, 3], [2, 4] ]); $mat->imbue(function () use (&$cnt) { return ++$cnt; }); batch_assert_mat('method `imbue()`', [$mat1, $mat] ); ?> --EXPECT--