| Conditions | 1 |
| Paths | 1 |
| Total Lines | 13 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 16 | public function testHelloWorldExercise() |
||
| 17 | { |
||
| 18 | $e = new HelloWorld; |
||
| 19 | $this->assertEquals('Hello World', $e->getName()); |
||
| 20 | $this->assertEquals('Simple Hello World exercise', $e->getDescription()); |
||
| 21 | $this->assertEquals(ExerciseType::CLI, $e->getType()); |
||
| 22 | |||
| 23 | $this->assertEquals([], $e->getArgs()); |
||
| 24 | |||
| 25 | $this->assertInstanceOf(SolutionInterface::class, $e->getSolution()); |
||
| 26 | $this->assertFileExists(realpath($e->getProblem())); |
||
| 27 | $this->assertNull($e->tearDown()); |
||
| 28 | } |
||
| 29 | } |
||
| 30 |