Esempio n. 1
0
 public void Initialize()
 {
     redPiece = new Piece("Red");
     bluePiece = new Piece("Blue");
     redArmy = new Army("Red");
     blueArmy = new Army("Blue");
 }
Esempio n. 2
0
 public void GetRemainingAfterAPieceIsLost()
 {
     var newRedArmy = new Army("Red");
     newRedArmy.LosePiece();
     Assert.AreEqual(39, newRedArmy.GetRemaining());
 }
Esempio n. 3
0
 public Piece(string color, Army.Rank rank)
 {
     this._color = color;
     this._rank = rank;
 }