public void ShouldIncludeHashbrownsByDefault()
        {
            var x = new SmokehouseSkeleton();

            Assert.True(x.HashBrowns);
        }
Esempio n. 2
0
        public void ShouldInlcudeSausageByDefault()
        {
            SmokehouseSkeleton sk = new SmokehouseSkeleton();

            Assert.True(sk.SausageLink);
        }
Esempio n. 3
0
        public void ShouldInlcudeHashbrownsByDefault()
        {
            SmokehouseSkeleton sk = new SmokehouseSkeleton();

            Assert.True(sk.HashBrowns);
        }
Esempio n. 4
0
        public void ShouldReturnCorrectPrice()
        {
            SmokehouseSkeleton sk = new SmokehouseSkeleton();

            Assert.Equal(5.62, sk.Price);
        }
Esempio n. 5
0
        public void ShouldReturnCorrectToString()
        {
            SmokehouseSkeleton sk = new SmokehouseSkeleton();

            Assert.Equal("Smokehouse Skeleton", sk.ToString());
        }
Esempio n. 6
0
        public void ShouldReturnCorrectCalories()
        {
            var ss = new SmokehouseSkeleton();

            Assert.Equal(602u, ss.Calories);
        }
Esempio n. 7
0
        public void ShouldImplementINotifyPropertyChanged()
        {
            var ss = new SmokehouseSkeleton();

            Assert.IsAssignableFrom <INotifyPropertyChanged>(ss);
        }
        public void ShouldReturnCorrectCalories()
        {
            SmokehouseSkeleton ss = new SmokehouseSkeleton();

            Assert.Equal((uint)602, ss.Calories);
        }
        public void ShouldBeAIOrderItem()
        {
            SmokehouseSkeleton ss = new SmokehouseSkeleton();

            Assert.IsAssignableFrom <IOrderItem>(ss);
        }
Esempio n. 10
0
        public void ShouldBeAnOrderItem()
        {
            SmokehouseSkeleton combo = new SmokehouseSkeleton();

            Assert.True(combo is IOrderItem);
        }
Esempio n. 11
0
        public void ShouldBeAnEntree()
        {
            SmokehouseSkeleton combo = new SmokehouseSkeleton();

            Assert.True(combo is Entree);
        }
Esempio n. 12
0
        public void HasDescription()
        {
            SmokehouseSkeleton combo = new SmokehouseSkeleton();

            Assert.Equal("Put some meat on those bones with a small stack of pancakes. Includes sausage links, eggs, and hash browns on the side. Topped with the syrup of your choice.", combo.Description);
        }
Esempio n. 13
0
        public void ImplementsNotifyPropertyInterface()
        {
            SmokehouseSkeleton ss = new SmokehouseSkeleton();

            Assert.IsAssignableFrom <INotifyPropertyChanged>(ss);
        }
Esempio n. 14
0
        public void ShouldIncludePancakeByDefault()
        {
            SmokehouseSkeleton ss = new SmokehouseSkeleton();

            Assert.True(ss.Pancake);
        }
        public void DescriptionShouldReturnTheCorrectString()
        {
            SmokehouseSkeleton SS = new SmokehouseSkeleton();

            Assert.Equal("Put some meat on those bones with a small stack of pancakes. Includes sausage links, eggs, and hash browns on the side. Topped with the syrup of your choice.", SS.Description);
        }
        public void ShouldReturnCorrectCalories()
        {
            SmokehouseSkeleton SS = new SmokehouseSkeleton();

            Assert.Equal((double)602, SS.Calories);
        }
        public void ShouldBeAssignableFromAbstractEntreeClass()
        {
            SmokehouseSkeleton SS = new SmokehouseSkeleton();

            Assert.IsAssignableFrom <Entree>(SS);
        }
        public void ShouldBeAssignableFromINotifyPropertyChangedInterface()
        {
            SmokehouseSkeleton SS = new SmokehouseSkeleton();

            Assert.IsAssignableFrom <INotifyPropertyChanged>(SS);
        }
Esempio n. 19
0
        public void ShouldHaveCorrectBaseName()
        {
            var ss = new SmokehouseSkeleton();

            Assert.Equal("Smokehouse Skeleton", ss.BaseName);
        }
        public void ShouldNotifyIfSausageLinkChanges(string propertyChanged)
        {
            SmokehouseSkeleton SS = new SmokehouseSkeleton();

            Assert.PropertyChanged(SS, propertyChanged, () => SS.SausageLink = false);
        }
Esempio n. 21
0
        public void ShouldInlcudeEggByDefault()
        {
            var ss = new SmokehouseSkeleton();

            Assert.True(ss.Egg);
        }
        public void ShouldNotifyIfHashBrownsChanges(string propertyChanged)
        {
            SmokehouseSkeleton SS = new SmokehouseSkeleton();

            Assert.PropertyChanged(SS, propertyChanged, () => SS.HashBrowns = false);
        }
Esempio n. 23
0
        public void ShouldBeAnEntree()
        {
            SmokehouseSkeleton sk = new SmokehouseSkeleton();

            Assert.IsAssignableFrom <Entree>(sk);
        }
        public void ShouldNotifyIfPancakeChanges(string propertyChanged)
        {
            SmokehouseSkeleton SS = new SmokehouseSkeleton();

            Assert.PropertyChanged(SS, propertyChanged, () => SS.Pancake = false);
        }
Esempio n. 25
0
        public void ShouldImplementIOrderItem()
        {
            SmokehouseSkeleton sk = new SmokehouseSkeleton();

            Assert.IsAssignableFrom <IOrderItem>(sk);
        }
        public void ShouldReturnCorrectNameBasedOnToString()
        {
            SmokehouseSkeleton SS = new SmokehouseSkeleton();

            Assert.Equal("Smokehouse Skeleton", SS.Name);
        }
Esempio n. 27
0
        public void ShouldInlcudeEggByDefault()
        {
            SmokehouseSkeleton sk = new SmokehouseSkeleton();

            Assert.True(sk.Egg);
        }
        public void ShouldBeAssignableFromIOrderItemInterface()
        {
            SmokehouseSkeleton SS = new SmokehouseSkeleton();

            Assert.IsAssignableFrom <IOrderItem>(SS);
        }
Esempio n. 29
0
        public void ShouldInlcudePancakeByDefault()
        {
            SmokehouseSkeleton sk = new SmokehouseSkeleton();

            Assert.True(sk.Pancake);
        }
        public void ShouldIncludeEggByDefault()
        {
            var x = new SmokehouseSkeleton();

            Assert.True(x.Egg);
        }