public void Setup() { _publicApi = new Mock <IPublicApi>(MockBehavior.Strict); _deckBuilder = new Mock <IDestinyDeckBuilder>(MockBehavior.Strict); _deckListId = "1"; _deck = TestUtils.GetValidDestinyDeck(); _deckList = new DeckList(); _deckRepository = new DeckRepository(_publicApi.Object, _deckBuilder.Object); }
static void WriteDeckToConsole(DestinyDeck deck) { Console.WriteLine("Destiny Deck"); Console.WriteLine($"Total Points: {deck.TotalPoints}"); Console.WriteLine("Characters:"); foreach (var character in deck.Team) { Console.WriteLine($"\t{character.Name} - {character.Dice.Count} Dice @ {character.TotalPoints} points."); } Console.WriteLine("Draw Deck:"); foreach (var card in deck.DrawDeck) { Console.WriteLine($"\t{card.Name}"); } Console.WriteLine("Battlefield:"); Console.WriteLine($"\t{deck.Battlefield.Name}"); }
public void Setup() { _destinyDeck = TestUtils.GetValidDestinyDeck(); _player = new Player(_destinyDeck); }
public void Setup() { _destinyDeck = TestUtils.GetValidDestinyDeck(); }