mirror of
				https://github.com/furyfire/trueskill.git
				synced 2025-11-04 02:02:29 +01:00 
			
		
		
		
	Fixing failing tests and misc cleanup
This commit is contained in:
		@@ -4,9 +4,9 @@ use Moserware\Skills\Tests\TestCase;
 | 
			
		||||
use Moserware\Skills\TrueSkill\DrawMargin;
 | 
			
		||||
 | 
			
		||||
class DrawMarginTest extends TestCase
 | 
			
		||||
{    
 | 
			
		||||
{
 | 
			
		||||
    const ERROR_TOLERANCE = 0.000001;
 | 
			
		||||
    
 | 
			
		||||
 | 
			
		||||
    public function testGetDrawMarginFromDrawProbability()
 | 
			
		||||
    {
 | 
			
		||||
        $beta = 25.0 / 6.0;
 | 
			
		||||
@@ -20,5 +20,5 @@ class DrawMarginTest extends TestCase
 | 
			
		||||
    {
 | 
			
		||||
        $actual = DrawMargin::getDrawMarginFromDrawProbability($drawProbability, $beta);
 | 
			
		||||
        $this->assertEquals($expected, $actual, '', DrawMarginTest::ERROR_TOLERANCE);
 | 
			
		||||
    }    
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
		Reference in New Issue
	
	Block a user