Skip to content

Commit

Permalink
Full coverage again
Browse files Browse the repository at this point in the history
  • Loading branch information
arokettu committed Sep 25, 2021
1 parent db18dd3 commit d0c2911
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tests/MonsterGenerationTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,12 @@ public function testStreamOutput(): void
self::assertEquals($this->getImageFile('[email protected]', 120), stream_get_contents($stream));
}

public function testInvalidStream(): void
{
$this->expectException(InvalidArgumentException::class);
stream_monster('not a stream');
}

public function testNoNegativeSizes(): void
{
$this->expectException(InvalidArgumentException::class);
Expand Down

0 comments on commit d0c2911

Please sign in to comment.