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