Exemplo n.º 1
0
        public void Medicine_ObjectCreation_Test(string name, string genericMedicineName, string composition, string expiryDate, double pricePerStrip)
        {
            Medicine medicine = p.CreateMedicineDetail(name, genericMedicineName, composition, DateTime.Parse(expiryDate), pricePerStrip);

            Assert.AreEqual(typeof(Medicine), medicine.GetType());
            Assert.AreEqual(name, medicine.Name);
        }