public function testDoCutLeftLetherThanRight()
{
$method = new \ReflectionMethod('\\ColorThief\\ColorThief', 'doCut');
$method->setAccessible(true);
// $left <= $right
$result = $method->invoke(null, "g", new \ColorThief\VBox(0, 20, 0, 31, 0, 31, null), array(38, 149, 556, 1222, 1830, 2656, 3638, 4744, 6039, 7412, 9039, 10686, 12244, 13715, 15091, 16355, 17599, 18768, 19771, 20925, 22257, 24094, 25782, 27585, 28796, 29794, 30258, 30290, 30298, 30301, 30301, 30301), 30301, array(30263, 30152, 29745, 29079, 28471, 27645, 26663, 25557, 24262, 22889, 21262, 19615, 18057, 16586, 15210, 13946, 12702, 11533, 10530, 9376, 8044, 6207, 4519, 2716, 1505, 507, 43, 11, 3, 0, 0, 0));
$this->assertEquals(new \ColorThief\VBox(0, 20, 0, 23, 0, 31, null), $result[0]);
$this->assertEquals(new \ColorThief\VBox(0, 20, 24, 31, 0, 31, null), $result[1]);
}