99 * Class CombinationsTest.
1010 *
1111 * @internal
12- * @coversNothing
12+ * @covers \drupol\phpermutations\Iterators\Combinations
1313 */
1414final class CombinationsTest extends AbstractTest
1515{
@@ -30,21 +30,21 @@ public function testCombinations($input, $expected)
3030 {
3131 $ combinations = new Combinations ($ input ['dataset ' ], $ input ['length ' ]);
3232
33- $ this -> assertSame ($ input ['dataset ' ], $ combinations ->getDataset ());
34- $ this -> assertSame ($ input ['length ' ], $ combinations ->getLength ());
35- $ this -> assertCount (
33+ static :: assertSame ($ input ['dataset ' ], $ combinations ->getDataset ());
34+ static :: assertSame ($ input ['length ' ], $ combinations ->getLength ());
35+ static :: assertCount (
3636 \count ($ input ['dataset ' ]),
3737 $ combinations ->getDataset ()
3838 );
39- $ this -> assertEquals (
39+ static :: assertEquals (
4040 $ expected ['dataset ' ],
4141 $ combinations ->toArray (),
4242 '$canonicalize = true ' ,
4343 $ delta = 0.0 ,
4444 $ maxDepth = 10 ,
4545 $ canonicalize = true
4646 );
47- $ this -> assertSame ($ expected ['count ' ], $ combinations ->count ());
47+ static :: assertSame ($ expected ['count ' ], $ combinations ->count ());
4848 }
4949
5050 /**
@@ -55,6 +55,6 @@ public function testCombinations($input, $expected)
5555 public function testCombinationsWithBigNumbers ()
5656 {
5757 $ combinations = new Combinations (\range (1 , 200 ), 2 );
58- $ this -> assertCount ($ combinations ->count (), $ combinations ->toArray ());
58+ static :: assertCount ($ combinations ->count (), $ combinations ->toArray ());
5959 }
6060}
0 commit comments