public void ItemDescriptionShouldBeCorrect() { ThugsTBone placeholder = new ThugsTBone(); Assert.Equal("Juicy T-Bone, not much else to say.", placeholder.Description); }
public void ShouldImplementIOrderItem() { var tb = new ThugsTBone(); Assert.IsAssignableFrom <IOrderItem>(tb); }
public void ShouldReturnCorrectPrice() { var tb = new ThugsTBone(); Assert.Equal(6.44, tb.Price); }
public void ShouldReturnCorrectCalories() { ThugsTBone tb = new ThugsTBone(); Assert.Equal((uint)982, tb.Calories); }
public void ShouldReturnCorrectToString() { ThugsTBone tb = new ThugsTBone(); Assert.True("Thugs T-Bone" == tb.ToString()); }
public void IsAssignableFromINotifyPropertyChanged() { ThugsTBone ttb = new ThugsTBone(); Assert.IsAssignableFrom <INotifyPropertyChanged>(ttb); }
public void ShouldBeAssignableToAbstractEntreeClass() { ThugsTBone t = new ThugsTBone(); Assert.IsAssignableFrom <Entree>(t); }
public void HasDescription() { ThugsTBone steak = new ThugsTBone(); Assert.Equal("Juicy T-Bone, not much else to say.", steak.Description); }
public void CheckInterfaceForEntree() { ThugsTBone ttb = new ThugsTBone(); Assert.IsAssignableFrom <IOrderItem>(ttb); }
public void ShouldBeAnEntree() { ThugsTBone steak = new ThugsTBone(); Assert.True(steak is Entree); }
public void ShouldReturnCorrectPrice() { ThugsTBone steak = new ThugsTBone(); Assert.Equal(6.44, steak.Price); }
public void ShouldBeAnOrderItem() { ThugsTBone steak = new ThugsTBone(); Assert.True(steak is IOrderItem); }
public static IEnumerable <IOrderItem> FullMenu() { var BB = new BriarheartBurger(); var DD = new DoubleDraugr(); var GOO = new GardenOrcOmelette(); var PP = new PhillyPoacher(); var SS = new SmokehouseSkeleton(); var TT = new ThalmorTriple(); var TTB = new ThugsTBone(); var sD = new DragonbornWaffleFries(); var mD = new DragonbornWaffleFries(); mD.Size = Size.Medium; var lD = new DragonbornWaffleFries(); lD.Size = Size.Large; var sF = new FriedMiraak(); var mF = new FriedMiraak(); mF.Size = Size.Medium; var lF = new FriedMiraak(); lF.Size = Size.Large; var sM = new MadOtarGrits(); var mM = new MadOtarGrits(); mM.Size = Size.Medium; var lM = new MadOtarGrits(); lM.Size = Size.Large; var sV = new VokunSalad(); var mV = new VokunSalad(); mV.Size = Size.Medium; var lV = new VokunSalad(); lV.Size = Size.Large; var sA = new ArentinoAppleJuice(); var mA = new ArentinoAppleJuice(); mA.Size = Size.Medium; var lA = new ArentinoAppleJuice(); lA.Size = Size.Large; var sC = new CandlehearthCoffee(); var mC = new CandlehearthCoffee(); mC.Size = Size.Medium; var lC = new CandlehearthCoffee(); lC.Size = Size.Large; var sMM = new MarkarthMilk(); var mMM = new MarkarthMilk(); mMM.Size = Size.Medium; var lMM = new MarkarthMilk(); lMM.Size = Size.Large; var sW = new WarriorWater(); var mW = new WarriorWater(); mW.Size = Size.Medium; var lW = new WarriorWater(); lW.Size = Size.Large; var scS = new SailorSoda(); scS.Flavor = SodaFlavor.Cherry; var mcS = new SailorSoda(); mcS.Size = Size.Medium; mcS.Flavor = SodaFlavor.Cherry; var lcS = new SailorSoda(); lcS.Size = Size.Large; lcS.Flavor = SodaFlavor.Cherry; var sbS = new SailorSoda { Flavor = SodaFlavor.Blackberry }; var mbS = new SailorSoda { Flavor = SodaFlavor.Blackberry, Size = Size.Medium }; var lbS = new SailorSoda { Flavor = SodaFlavor.Blackberry, Size = Size.Large }; var spS = new SailorSoda { Flavor = SodaFlavor.Peach }; var mpS = new SailorSoda { Flavor = SodaFlavor.Peach, Size = Size.Medium }; var lpS = new SailorSoda { Flavor = SodaFlavor.Peach, Size = Size.Large }; var slS = new SailorSoda { Flavor = SodaFlavor.Lemon }; var mlS = new SailorSoda { Flavor = SodaFlavor.Lemon, Size = Size.Medium }; var llS = new SailorSoda { Flavor = SodaFlavor.Lemon, Size = Size.Large }; var sgS = new SailorSoda { Flavor = SodaFlavor.Grapefruit }; var mgS = new SailorSoda { Flavor = SodaFlavor.Grapefruit, Size = Size.Medium }; var lgS = new SailorSoda { Flavor = SodaFlavor.Grapefruit, Size = Size.Large }; var swS = new SailorSoda { Flavor = SodaFlavor.Watermelon }; var mwS = new SailorSoda { Flavor = SodaFlavor.Watermelon, Size = Size.Medium }; var lwS = new SailorSoda { Flavor = SodaFlavor.Watermelon, Size = Size.Large }; IOrderItem[] result = { BB, DD, GOO, PP, SS, TT, TTB, sD, mD, lD, sF, mF, lF, sM, mM, lM, sV, mV, lV, sA, mA, lA, sC, mC, lC, sMM, mMM, lMM, sW, mW, lW, scS, mcS, lcS, sbS, mbS, lbS, spS, mpS, lpS, slS, mlS, llS, sgS, mgS, lgS, swS, mwS, lwS }; IEnumerable <IOrderItem> enumerator = new List <IOrderItem>(result); return(enumerator); }
public CustomizeThugsTBone(UserControl par, ThugsTBone thugsT) { InitializeComponent(); DataContext = thugsT; parent = par; }
/// <summary> /// Thugs T-Bone click event /// </summary> /// <param name="sender"></param> /// <param name="e"></param> void ThugsTBoneClick(object sender, RoutedEventArgs e) { ThugsTBone bone = new ThugsTBone(); o.pageDisplay.Child = new CustomizationThugsTBone(o, bone); }
public void ShouldReturnCorrectPrice() { ThugsTBone tbone = new ThugsTBone(); Assert.True(tbone.Price == 6.44); }
public void ShouldReturnCorrectDescription() { ThugsTBone ttb = new ThugsTBone(); Assert.Equal("Juicy T-Bone, not much else to say.", ttb.Description); }
public void ShouldReturnCorrectCalories() { ThugsTBone tbone = new ThugsTBone(); Assert.True(tbone.Calories == 982); }
public void ShouldBeIOrderItem() { ThugsTBone ttb = new ThugsTBone(); Assert.IsAssignableFrom <IOrderItem>(ttb); }
public void ShouldImplementINotifyProperty() { ThugsTBone tt = new ThugsTBone(); Assert.IsAssignableFrom <INotifyPropertyChanged>(tt); }
public void ShouldBeAssignableToIOrderItemInterface() { ThugsTBone t = new ThugsTBone(); Assert.IsAssignableFrom <IOrderItem>(t); }
public void ShouldBeAnEntree() { ThugsTBone tt = new ThugsTBone(); Assert.IsAssignableFrom <Entree>(tt); }
public void ShouldReturnCorrectSpecialInstructions() { ThugsTBone tb = new ThugsTBone(); Assert.Empty(tb.SpecialInstructions); }
public void ShouldReturnCorrectPrice() { ThugsTBone tt = new ThugsTBone(); Assert.Equal(6.44, tt.Price); }
public void ShouldBeAnEntree() { var tb = new ThugsTBone(); Assert.IsAssignableFrom <Entree>(tb); }
public void ShouldReturnCorrectCalories() { ThugsTBone tt = new ThugsTBone(); Assert.Equal(982, (double)tt.Calories); }
public void ShouldImplementINotifyPropertyChanged() { var tb = new ThugsTBone(); Assert.IsAssignableFrom <INotifyPropertyChanged>(tb); }
public void ShouldReturnCorrectToString() { ThugsTBone tb = new ThugsTBone(); Assert.Equal("Thugs T-Bone", tb.ToString()); }
public void ShouldReturnCorrectCalories() { var tb = new ThugsTBone(); Assert.Equal(982u, tb.Calories); }
public void ShouldBeAssignableToAbstractDrinkClass() { var x = new ThugsTBone(); Assert.IsAssignableFrom <Entree>(x); }