Esempio n. 1
0
        public void RuralStorageFor3000kgMarijuanaShouldEqual300000Test()
        {
            var ruralProperty = new RuralProperty(new Marijuana(), 600, PropertyFactory.RuralTimeUnits, PropertyFactory.RuralWeightUnits);

            ruralProperty.Produce(15);
            Assert.AreEqual(ruralProperty.Storage.GetPrice(), 300000);
        }
Esempio n. 2
0
        public void RuralPropertyShouldUseMarijuanaStorageTest()
        {
            var ruralProperty = new RuralProperty(new Marijuana(), 600, PropertyFactory.RuralTimeUnits, PropertyFactory.RuralWeightUnits);

            Assert.AreEqual(ruralProperty.Storage.GetType(), typeof(MarijuanaStorage));
        }
Esempio n. 3
0
        public void RuralPropertyShouldProduceMarijuanaTest()
        {
            var ruralProperty = new RuralProperty(new Marijuana(), 600, PropertyFactory.RuralTimeUnits, PropertyFactory.RuralWeightUnits);

            Assert.AreEqual(ruralProperty.Drug.Name, "Marijuana");
        }