mirror of
				https://github.com/furyfire/trueskill.git
				synced 2025-11-04 10:12:28 +01:00 
			
		
		
		
	
		
			
	
	
		
			18 lines
		
	
	
		
			401 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
		
		
			
		
	
	
			18 lines
		
	
	
		
			401 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
| 
								 | 
							
								<?php
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								namespace DNW\Skills\Tests\FactorGraphs;
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								use DNW\Skills\FactorGraphs\ScheduleStep;
							 | 
						||
| 
								 | 
							
								use DNW\Skills\FactorGraphs\Factor;
							 | 
						||
| 
								 | 
							
								use PHPUnit\Framework\TestCase;
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								class ScheduleStepTest extends TestCase
							 | 
						||
| 
								 | 
							
								{
							 | 
						||
| 
								 | 
							
								    public function test(): void
							 | 
						||
| 
								 | 
							
								    {
							 | 
						||
| 
								 | 
							
								        $stub = $this->createStub(Factor::class);
							 | 
						||
| 
								 | 
							
								        $ss = new ScheduleStep('dummy', $stub, 0);
							 | 
						||
| 
								 | 
							
								        $this->assertEquals('dummy', (string)$ss);
							 | 
						||
| 
								 | 
							
								    }
							 | 
						||
| 
								 | 
							
								}
							 |