CodeStyle changes, documentation, small fixes

This commit is contained in:
Ismo Vuorinen
2017-09-14 13:50:17 +03:00
parent b9c5530928
commit 1f0a4b878c
5 changed files with 65 additions and 92 deletions

View File

@@ -21,7 +21,7 @@ class PaletteTest extends \PHPUnit_Framework_TestCase
foreach ($images as $imageFile => $hex) {
$image = $location . $imageFile;
$this->assertTrue(file_exists($image));
$this->assertFileExists($image);
$palette = new \ivuorinen\Palette\Palette($image);
$this->assertCount(1, $palette->colorsArray);