public function testGetColorIndex8bits($r, $g, $b, $index) { $this->assertSame($index, ColorThief::getColorIndex($r, $g, $b, 8)); }