From 1bd4021ec955be08f2207f8232237f071553931e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi?= Date: Sat, 8 Jun 2024 11:44:14 +0200 Subject: [PATCH] correction d'un test de bestscore --- source/Trek-12/Tests/GameTests.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/Trek-12/Tests/GameTests.cs b/source/Trek-12/Tests/GameTests.cs index ff86d91..6324c2d 100644 --- a/source/Trek-12/Tests/GameTests.cs +++ b/source/Trek-12/Tests/GameTests.cs @@ -81,7 +81,7 @@ public class GameTests { var bestScore = new BestScore("test", new Player("John", "Picture.png"), 3, 127); - _game.AddBestScore(bestScore); + _game.BestScores.Add(bestScore); Assert.Contains(bestScore, _game.BestScores); }