Beispiel #1
0
 public void ToStringParseRoundTrip_AllPossibleTurns()
 {
     foreach (var turn in Turn.BuildAllTurns())
     {
         string text = turn.ToString();
         var    copy = Turn.Parse(text);
         Assert.Equal(turn, copy);
     }
 }
 static TurnMoveGenerator()
 {
     AllPossibleTurnMoves = Turn.BuildAllTurns()
                            .Select(x => new TurnSequenceMove(new TurnSequence(x)))
                            .ToArray();
 }