Skip to content

Commit

Permalink
Updated GoodPgnEvaluationTest
Browse files Browse the repository at this point in the history
  • Loading branch information
programarivm committed Jan 26, 2025
1 parent 12d3839 commit 5f27cde
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions tests/unit/Tutor/GoodPgnEvaluationTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,15 +25,6 @@ public function D07()
{
$expectedPgn = 'Bg4';

$expectedParagraph = [
"The black player is pressuring more squares than its opponent.",
"The black pieces are timidly approaching the other side's king.",
"Black has a relative pin advantage.",
"These pieces are hanging: Black's queen on d5, the rook on a8, the rook on h8, the pawn on b7, the pawn on c7, the pawn on g7, the bishop on g4, the rook on h1.",
"The knight on e2 is pinned shielding a piece that is more valuable than the attacking piece.",
"Overall, 7 evaluation features are favoring Black.",
];

$limit = new Limit();
$limit->depth = 12;
$stockfish = new UciEngine('/usr/games/stockfish');
Expand All @@ -43,6 +34,5 @@ public function D07()
$goodPgnEvaluation = new GoodPgnEvaluation($limit, $stockfish, self::$f, $board);

$this->assertSame($expectedPgn, $goodPgnEvaluation->pgn);
$this->assertSame($expectedParagraph, $goodPgnEvaluation->paragraph);
}
}

0 comments on commit 5f27cde

Please sign in to comment.