public void PickItemsPage_DrawCharacterList_Valid_Should_Pass() { // Arrange BattleEngineViewModel.Instance.Engine.EngineSettings.BattleScore.CharacterModelDeathList.Add(new PlayerInfoModel(new CharacterModel())); // Draw the Monsters BattleEngineViewModel.Instance.Engine.EngineSettings.BattleScore.MonsterModelDeathList.Add(new PlayerInfoModel(new CharacterModel())); // Do it two times page.DrawCharacterList(); // Act page.DrawCharacterList(); // Reset // Assert Assert.IsTrue(true); // Got to here, so it happened... }
public void PickItemsPage_DrawCharacterList_Default_Should_Pass() { // Arrange FlexLayout CharacterListFrame = (FlexLayout)page.FindByName("CharacterListFrame"); CharacterListFrame.Children.Add(new StackLayout()); BattleEngineViewModel.Instance.Engine.EngineSettings.CharacterList.Add(new PlayerInfoModel(new CharacterModel())); // Act page.DrawCharacterList(); // Reset // Assert Assert.IsTrue(true); // Got to here, so it happened... }