diff --git a/source/Trek-12/Tests/GameTests.cs b/source/Trek-12/Tests/GameTests.cs index 6324c2d..02c40cf 100644 --- a/source/Trek-12/Tests/GameTests.cs +++ b/source/Trek-12/Tests/GameTests.cs @@ -236,17 +236,13 @@ public class GameTests _game.InitializeGame(map, player); // Use of reflection to call private method - /* var methodInfo = typeof(Game).GetMethod("MarkOperationAsChecked", BindingFlags.NonPublic | BindingFlags.Instance); Assert.NotNull(methodInfo); - */ var operation = Operation.ADDITION; - //methodInfo.Invoke(_game, new object[] { operation }); - - _game.MarkOperationAsChecked(operation); + methodInfo.Invoke(_game, new object[] { operation }); int operationIndex = (int)operation; int operationsPerType = 4;