Ejemplo n.º 1
0
        public void PastryOrder_CreateInstanceOfPastryOrder_PastryOrder()
        {
            int numberOfPastries = 4;

            PastryOrder newPastryOrder = new PastryOrder(numberOfPastries);

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

            Assert.AreEqual(typeof(PastryOrder), newPastryOrder.GetType());
        }
Ejemplo n.º 3
0
        public void PastryOrderConstructor_ConstructAnInstanceOfPastryClass_PastryOrder()
        {
            PastryOrder newPastryOrder = new PastryOrder(1);

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