示例#1
0
        public void PastryOrder_CreateInstanceOfPastryOrder_PastryOrder()
        {
            int numberOfPastries = 4;

            PastryOrder newPastryOrder = new PastryOrder(numberOfPastries);

            Assert.AreEqual(typeof(PastryOrder), newPastryOrder.GetType());
        }
        public void PastryOrder_CreateInstanceOfPastryOrder_PastryOrder()
        {
            PastryOrder newPastryOrder = new PastryOrder(2);

            Assert.AreEqual(typeof(PastryOrder), newPastryOrder.GetType());
        }
        public void PastryOrderConstructor_ConstructAnInstanceOfPastryClass_PastryOrder()
        {
            PastryOrder newPastryOrder = new PastryOrder(1);

            Assert.AreEqual(typeof(PastryOrder), newPastryOrder.GetType());
        }