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