Example #1
0
        public void Initialize()
        {
            _factory = new TestEquipmentFactory();

            _random = new Mock <IRandom>();
            _random.Setup(x => x.Next()).Returns(0);
            _random.Setup(x => x.NextDouble()).Returns(0);
            _chance = new ChanceOrb(_random.Object);

            _currencyTestHelper = new CurrencyTestHelper();
        }
Example #2
0
        public void Initialize()
        {
            _factory = new TestEquipmentFactory();

            _random = new Mock <IRandom>();
            _random.Setup(x => x.Next()).Returns(0);
            _random.Setup(x => x.NextDouble()).Returns(0);

            _alchemy            = new AlchemyOrb(_random.Object);
            _transmutation      = new TransmutationOrb(_random.Object);
            _currencyTestHelper = new CurrencyTestHelper();
        }