public CardFactoryUnitTests() { var cardFactorySettings = new CardFactorySettings { CardValueOverrides = new Dictionary <CardValueEnum, int> { { CardValueEnum.Jack, 100 } } }; _cardFactory = new CardFactory(cardFactorySettings); }
/// <summary> /// Constructor /// </summary> /// <param name="cardFactorySettings">Values that alter the card creation</param> public CardFactory(CardFactorySettings cardFactorySettings) { _cardFactorySettings = cardFactorySettings; }