Bit of cleanup, renamespaced, testing/code coverage
This commit is contained in:
parent
0af0ed0748
commit
80fa6ab88e
6 changed files with 41 additions and 14 deletions
|
@ -1,10 +1,10 @@
|
|||
<?php
|
||||
|
||||
namespace Pickles\Tests;
|
||||
require_once '../src/Sort.php';
|
||||
|
||||
use Pickles\Sort;
|
||||
use joshtronic\Sort;
|
||||
|
||||
class SortTest extends \PHPUnit_Framework_TestCase
|
||||
class SortTest extends PHPUnit_Framework_TestCase
|
||||
{
|
||||
public function testByNameASC()
|
||||
{
|
||||
|
@ -62,3 +62,4 @@ class SortTest extends \PHPUnit_Framework_TestCase
|
|||
$this->assertEquals($sorted, $shuffled);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue