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