public void RuralStorageFor3000kgMarijuanaShouldEqual300000Test() { var ruralProperty = new RuralProperty(new Marijuana(), 600, PropertyFactory.RuralTimeUnits, PropertyFactory.RuralWeightUnits); ruralProperty.Produce(15); Assert.AreEqual(ruralProperty.Storage.GetPrice(), 300000); }
public void RuralPropertyShouldUseMarijuanaStorageTest() { var ruralProperty = new RuralProperty(new Marijuana(), 600, PropertyFactory.RuralTimeUnits, PropertyFactory.RuralWeightUnits); Assert.AreEqual(ruralProperty.Storage.GetType(), typeof(MarijuanaStorage)); }
public void RuralPropertyShouldProduceMarijuanaTest() { var ruralProperty = new RuralProperty(new Marijuana(), 600, PropertyFactory.RuralTimeUnits, PropertyFactory.RuralWeightUnits); Assert.AreEqual(ruralProperty.Drug.Name, "Marijuana"); }