mirror of
https://github.com/furyfire/trueskill.git
synced 2025-03-19 00:08:37 +00:00
Cleanup in tests/: adding namespaces, removing php closing tag and general code cleanup
This commit is contained in:
@ -1,12 +1,6 @@
|
||||
<?php
|
||||
namespace Moserware\Skills;
|
||||
|
||||
require_once 'PHPUnit/Framework.php';
|
||||
require_once 'PHPUnit/TextUI/TestRunner.php';
|
||||
|
||||
require_once(dirname(__FILE__) . '/../Skills/RankSorter.php');
|
||||
|
||||
<?php namespace Moserware\Skills\Tests;
|
||||
|
||||
use Moserware\Skills\RankSorter;
|
||||
use \PHPUnit_Framework_TestCase;
|
||||
|
||||
class RankSorterTest extends PHPUnit_Framework_TestCase
|
||||
@ -28,6 +22,4 @@ class RankSorterTest extends PHPUnit_Framework_TestCase
|
||||
$this->assertEquals($team1, $sortedRanks[2]);
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
||||
}
|
Reference in New Issue
Block a user