Exemple #1
0
        public void FineDiningCanSetNumberofSeatsAtBar()
        {
            FineDining fancys = new FineDining();

            fancys.NumberofSeatsAtBar = 12;
            Assert.AreEqual(12, fancys.NumberofSeatsAtBar);
        }
Exemple #2
0
        public void FineDiningCanCalculateCapacity()
        //expand upon base.capacity()
        {
            FineDining fancys = new FineDining();

            fancys.NumberofSeatsAtBar    = 12;
            fancys.Numberof4PersonTables = 6;
            fancys.Numberof2PersonTables = 8;
            Assert.AreEqual(52, fancys.capacity());
        }
Exemple #3
0
        public void FineDiningCanCreateInstance()
        {
            FineDining fancys = new FineDining();

            Assert.IsNotNull(fancys);
        }