Exemplo 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);
        }
Exemplo n.º 2
0
        public void RuralPropertyShouldUseMarijuanaStorageTest()
        {
            var ruralProperty = new RuralProperty(new Marijuana(), 600, PropertyFactory.RuralTimeUnits, PropertyFactory.RuralWeightUnits);

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

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