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