public void ShouldIncludeTomatoByDefault() { ThalmorTriple tt = new ThalmorTriple(); Assert.True(tt.Tomato); }
public void ShouldBeAbleToSetCheese() { ThalmorTriple tt = new ThalmorTriple(); tt.Cheese = false; Assert.False(tt.Cheese); }//end test
public void ShouldIncludeKetchupByDefault() { ThalmorTriple tt = new ThalmorTriple(); Assert.True(tt.Ketchup); }
public void ShouldIncludePickleByDefault() { ThalmorTriple tt = new ThalmorTriple(); Assert.True(tt.Pickle); }
public void ShouldReturnCorrectCalories() { ThalmorTriple tt = new ThalmorTriple(); Assert.Equal((uint)943, tt.Calories); }
public void ShouldIncludeBunByDefault() { ThalmorTriple tt = new ThalmorTriple(); Assert.True(tt.Bun); }
public void ShouldReturnCorrectToString() { ThalmorTriple tt = new ThalmorTriple(); string name = "Thalmor Triple"; Assert.Equal(name, tt.ToString()); }//end test
public void ShouldBeAnOrderItem() { ThalmorTriple item = new ThalmorTriple(); Assert.IsAssignableFrom <IOrderItem>(item); }
public void ShouldReturnCorrectPrice() { ThalmorTriple tt = new ThalmorTriple(); double price = 8.32; Assert.Equal(price, tt.Price); }//end test
public void ShouldReturnCorrectCalories() { ThalmorTriple tt = new ThalmorTriple(); uint calories = 943; Assert.Equal(calories, tt.Calories); }//end test
public void ShouldBeAbleToSetEgg() { ThalmorTriple tt = new ThalmorTriple(); tt.Egg = false; Assert.False(tt.Egg); }//end test
public void ShouldBeAbleToSetMayo() { ThalmorTriple tt = new ThalmorTriple(); tt.Mayo = false; Assert.False(tt.Mayo); }//end test
public void ShouldBeAbleToSetLettuce() { ThalmorTriple tt = new ThalmorTriple(); tt.Lettuce = false; Assert.False(tt.Lettuce); }//end test
public void ShouldIncludeEggByDefault() { ThalmorTriple tt = new ThalmorTriple(); Assert.True(tt.Egg); }
public void ShouldIncludeMayoByDefault() { ThalmorTriple tt = new ThalmorTriple(); Assert.True(tt.Mayo); }//end test
public void ShouldBeAnEntree() { ThalmorTriple item = new ThalmorTriple(); Assert.IsAssignableFrom <Entree>(item); }
public void ShouldIncludeBaconByDefault() { ThalmorTriple tt = new ThalmorTriple(); Assert.True(tt.Bacon); }//end test
public void ShouldReturnCorrectPrice() { ThalmorTriple tt = new ThalmorTriple(); Assert.Equal(8.32, tt.Price); }
public void ShouldBeAbleToSetBun() { ThalmorTriple tt = new ThalmorTriple(); tt.Bun = false; Assert.False(tt.Bun); }//end test
public void ShouldReturnCorrectSpecialInstructions(bool includeBun, bool includeKetchup, bool includeMustard, bool includePickle, bool includeCheese, bool includeTomato, bool includeLettuce, bool includeMayo, bool includeBacon, bool includeEgg) { ThalmorTriple tt = new ThalmorTriple(); tt.Bun = includeBun; tt.Ketchup = includeKetchup; tt.Mustard = includeMustard; tt.Pickle = includePickle; tt.Cheese = includeCheese; tt.Tomato = includeTomato; tt.Lettuce = includeLettuce; tt.Mayo = includeMayo; tt.Bacon = includeBacon; tt.Egg = includeEgg; if (includeBun) { Assert.DoesNotContain("Hold bun", tt.SpecialInstructions); } else { Assert.Contains("Hold bun", tt.SpecialInstructions); } if (includeKetchup) { Assert.DoesNotContain("Hold ketchup", tt.SpecialInstructions); } else { Assert.Contains("Hold ketchup", tt.SpecialInstructions); } if (includeMustard) { Assert.DoesNotContain("Hold mustard", tt.SpecialInstructions); } else { Assert.Contains("Hold mustard", tt.SpecialInstructions); } if (includePickle) { Assert.DoesNotContain("Hold pickle", tt.SpecialInstructions); } else { Assert.Contains("Hold pickle", tt.SpecialInstructions); } if (includeCheese) { Assert.DoesNotContain("Hold cheese", tt.SpecialInstructions); } else { Assert.Contains("Hold cheese", tt.SpecialInstructions); } if (includeTomato) { Assert.DoesNotContain("Hold tomato", tt.SpecialInstructions); } else { Assert.Contains("Hold tomato", tt.SpecialInstructions); } if (includeLettuce) { Assert.DoesNotContain("Hold lettuce", tt.SpecialInstructions); } else { Assert.Contains("Hold lettuce", tt.SpecialInstructions); } if (includeMayo) { Assert.DoesNotContain("Hold mayo", tt.SpecialInstructions); } else { Assert.Contains("Hold mayo", tt.SpecialInstructions); } if (includeBacon) { Assert.DoesNotContain("Hold bacon", tt.SpecialInstructions); } else { Assert.Contains("Hold bacon", tt.SpecialInstructions); } if (includeEgg) { Assert.DoesNotContain("Hold egg", tt.SpecialInstructions); } else { Assert.Contains("Hold egg", tt.SpecialInstructions); } if (includeBun && includeCheese && includeKetchup && includeMustard && includePickle && includeTomato && includeLettuce && includeMayo && includeBacon && includeEgg) { Assert.Empty(tt.SpecialInstructions); } }
public void ShouldBeAbleToSetKetchup() { ThalmorTriple tt = new ThalmorTriple(); tt.Ketchup = false; Assert.False(tt.Ketchup); }//end test
public void ShouldReturnCorrectToString() { ThalmorTriple tt = new ThalmorTriple(); Assert.Equal("Thalmor Triple", tt.ToString()); }
public void ShouldBeAssignableToIOrderItemInterface() { ThalmorTriple tt = new ThalmorTriple(); Assert.IsAssignableFrom <IOrderItem>(tt); }
public void ShouldIncludeMustardByDefault() { ThalmorTriple tt = new ThalmorTriple(); Assert.True(tt.Mustard); }
public void ShouldBeAssignableToAbstractEntreeClass() { ThalmorTriple tt = new ThalmorTriple(); Assert.IsAssignableFrom <Entree>(tt); }
public void ShouldIncludeCheeseByDefault() { ThalmorTriple tt = new ThalmorTriple(); Assert.True(tt.Cheese); }
public void ShouldImplementINotifyPropertyChanged() { ThalmorTriple tt = new ThalmorTriple(); Assert.IsAssignableFrom <INotifyPropertyChanged>(tt); }
public void ShouldIncludeLettuceByDefault() { ThalmorTriple tt = new ThalmorTriple(); Assert.True(tt.Lettuce); }
public void ShouldBeAbleToSetMustard() { ThalmorTriple tt = new ThalmorTriple(); tt.Mustard = false; Assert.False(tt.Mustard); }//end test