public void TestIfAddingBakersWork() { Bakery bakery = new Bakery(); DateTime test = DateTime.Now; bakery.HireBaker(test); Assert.AreEqual(1, bakery.listOfBakers.Count); }
public void TestIfPayingBakersWork() { Payment payments = new Payment(); Bakery bakery = new Bakery(); DateTime test = DateTime.Now; bakery.HireBaker(test); bakery.HireApprentice(test); Assert.AreEqual(3700, payments.PayBakers(5000, bakery.listOfBakers)); }