/** * This method tests the "length" method. * * @dataProvider data_length */ public function test_length(array $provided, array $expected) { $p0 = ITuple\Module::length(ITuple\Type::make($provided[0])); $e0 = $expected[0]; $this->assertInstanceOf('\\Saber\\Data\\IInt32\\Type', $p0); $this->assertSame($e0, $p0->unbox()); }