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