tests/GameOfLife/Inputs/BoardEditor/Options/StartOptionTest.php
/**
     * Checks whether the option can exit the board editor.
     *
     * @covers \BoardEditor\Options\StartOption::startSimulation()
     *
     * @throws \Exception
     */
Checks whether the option can exit the board editor.

@throws \Exception
Checks whether the option can exit the board editor . @throws \ Exception
public function testCanStartSimulation()
    {
        $boardEditor = new BoardEditor("test");
        $option = new StartOption($boardEditor);
        $result = $option->startSimulation();
        $this->assertTrue($result);
    }
public function testCanStartSimulation ( ) { $ boardEditor = new BoardEditor ( " test " ) ; $ option = new StartOption ( $ boardEditor ) ; $ result = $ option -> startSimulation ( ) ; $ this -> assertTrue ( $ result ) ; }
Checks whether the option can exit the board editor.
Checks whether the option can exit the board editor .