public void TestMoveAbilitySimplePasses() { DeckCreatorInternal deckCreatorInternal = new DeckCreatorInternal(); IDeck deck = Substitute.For <IDeck>(); GameObject card = new GameObject(); GameObject owner = new GameObject(); int count = deckCreatorInternal.CreateDeck(deck, "Cards/diamonds", "Cards/clubs", "Cards/hearts", "Cards/spades", "Cards/back", card, owner, false); Assert.AreEqual(6, count); // Use the Assert class to test conditions }
public void CreateDeck(bool needRealObject) { deckCreatorInternal.CreateDeck(realDeck, DiamondsLocation.Value, ClubsLocation.Value, HeartsLocation.Value, SpadesLocation.Value, CardsBackLocation.Value, Card.Value, gameObject, needRealObject); }