for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* This file is part of the Cubiche package.
*
* Copyright (c) Cubiche
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Cubiche\Core\Comparable\Tests\Units;
* Callback Comparator Tests class.
* @author Ivannis Suárez Jerez <[email protected]>
* @author Karel Osorio Ramírez <[email protected]>
class CallbackComparatorTests extends ComparatorTestCase
{
* {@inheritdoc}
protected function defaultConstructorArguments()
return array(function () {
return -1;
});
}
protected function compareDataProvider()
return array(
array(1, 2, -1),
array(1, 3, -1),
array(4, 1, -1),
);