public void ScoreCalculatorWorksOnRealInput() { var(player1, player2) = CrabCombat.LoadGame("input.txt"); var(result1, result2) = CrabCombat.PlayGame(player1, player2); CrabCombat.CalculateScore(result2).ShouldBe(35397); }
public void ScoreCalculatorWorksOnExample() { var(player1, player2) = CrabCombat.LoadGame("example1.txt"); var(result1, result2) = CrabCombat.PlayGame(player1, player2); CrabCombat.CalculateScore(result2).ShouldBe(306); }