예제 #1
0
 public void Part2GamePlayWorksOnExample()
 {
     var(player1, player2) = CrabCombat.LoadGame("example1.txt");
     var(result1, result2) = CrabCombat.PlayRecursiveGame(player1, player2);
     result1.ShouldBeEmpty();
     result2.ShouldBe(new List <int> {
         7, 5, 6, 2, 4, 1, 10, 8, 9, 3
     });
 }