예제 #1
0
 public void Initialize()
 {
     redPiece = new Piece("Red");
     bluePiece = new Piece("Blue");
     redArmy = new Army("Red");
     blueArmy = new Army("Blue");
 }
예제 #2
0
 public void GetRemainingAfterAPieceIsLost()
 {
     var newRedArmy = new Army("Red");
     newRedArmy.LosePiece();
     Assert.AreEqual(39, newRedArmy.GetRemaining());
 }
예제 #3
0
파일: Piece.cs 프로젝트: AHaleIII/stratego
 public Piece(string color, Army.Rank rank)
 {
     this._color = color;
     this._rank = rank;
 }