public function testPartitionAll() { $expected = [[0, 1, 2], [3, 4, 5], [6]]; $xf = t::partitionAll(3); $actual = t::into([], $xf, [0, 1, 2, 3, 4, 5, 6]); $this->assertEquals($expected, $actual); }
public function testPartitionAll() { $expected = [[0, 1, 2], [3, 4, 5], [6]]; $xf = t::partitionAll(3); $actual = t::into([], $xf, [0, 1, 2, 3, 4, 5, 6]); $this->assertEquals($expected, $actual); }