public void GoToSeeStr_ShouldSetPlayerToID11() { //Arrange testPlayer.CurrentPosition = 0; contentTest.GetViewModel <GameBoardViewModel>().GamePool.GameCards[0].AddPlayerOnCard(testPlayer); int expected = 11; //Act communityChestRef.GoToSeeStr(testPlayer); //Assert Assert.Equal(expected, testPlayer.CurrentPosition); }
public void MovePlayer_ShouldMovePlayerToAnotherPosition() { //Arrange int expected = 20; contentTest.GetViewModel <GameBoardViewModel>().GamePool.GameCards[0].AddPlayerOnCard(testPlayer); //Act testPlayer.MovePlayer(20); //Assert Assert.Equal(expected, testPlayer.CurrentPosition); }