public function testGetColorsFromIndex8bits($r, $g, $b, $index) { $this->assertSame(array($r, $g, $b), ColorThief::getColorsFromIndex($index, 0)); }