public function render()
 {
     return $this->grid->render();
 }
Пример #2
0
 /**
  * @test
  * @dataProvider gridsAndTheirRenderingDataProvider
  *
  * @param string $expectedRender
  * @param Grid   $grid
  */
 public function givenAnEmptyGridWhenPlacingAllShipsThenRenderMustMathString($expectedRender, $grid)
 {
     $this->assertSame($expectedRender, $grid->render());
 }