public void TwentyFourTest3() { Title TwentyFour = new TV(204); TwentyFour.name = "24"; TwentyFour.rating = 4; string TwentyFourInfo; TwentyFourInfo = TwentyFour.ToString(); Console.WriteLine(TwentyFourInfo); Assert.AreEqual("24", TwentyFour.name); }
public void TwentyFourTest() { Title TwentyFour = new TV(204); TwentyFour.name = "24"; TwentyFour.rating = 4; string TwentyFourInfo; TwentyFourInfo = TwentyFour.ToString(); Console.WriteLine(TwentyFourInfo); Assert.AreEqual("24: 204 episodes and the Average Episode Rating is 4", TwentyFourInfo); }
public void IASIP() { Title IASIP = new TV(141); IASIP.name = "It's Always Sunny in Philadelphia"; IASIP.rating = 4; string IASIPinfo; IASIPinfo = IASIP.ToString(); Console.WriteLine(IASIPinfo); }
public void Buffy() { Title Buffy = new TV(144); Buffy.name = "Buffy the Vampire Slayer"; Buffy.rating = 2; string BuffyInfo; BuffyInfo = Buffy.ToString(); Console.WriteLine(BuffyInfo); }
public void HIMYM() { Title HIMYM = new TV(208); HIMYM.name = "How I Met Your Mother"; HIMYM.rating = 2; string HIMYMinfo; HIMYMinfo = HIMYM.ToString(); Console.WriteLine(HIMYMinfo); }
public void GossipGirl() { Title GossipGirl = new TV(121); GossipGirl.name = "Gossip Girl"; GossipGirl.rating = 1; string GossipGirlInfo; GossipGirlInfo = GossipGirl.ToString(); Console.WriteLine(GossipGirlInfo); }
public void Greys() { Title Greys = new TV(255); Greys.name = "Grey's Anatomy"; Greys.rating = 1; string GreysInfo; GreysInfo = Greys.ToString(); Console.WriteLine(GreysInfo); }
public void Chuck() { Title Chuck = new TV(91); Chuck.name = "Chuck"; Chuck.rating = 1; string ChuckInfo; ChuckInfo = Chuck.ToString(); Console.WriteLine(ChuckInfo); }
public void Seinfeld() { Title Seinfeld = new TV(180); Seinfeld.name = "Seinfeld"; Seinfeld.rating = 3; string SeinfeldInfo; SeinfeldInfo = Seinfeld.ToString(); Console.WriteLine(SeinfeldInfo); }
public void TwentyFour() { Title TwentyFour = new TV(204); TwentyFour.name = "24"; TwentyFour.rating = 4; string TwentyFourInfo; TwentyFourInfo = TwentyFour.ToString(); Console.WriteLine(TwentyFourInfo); }
public void TwentyFourTest9() { Title TwentyFour = new TV(204); TV tv = new TV(204); TwentyFour.name = "24"; TwentyFour.rating = 4; string TwentyFourInfo; TwentyFourInfo = TwentyFour.ToString(); Console.WriteLine(TwentyFourInfo); Assert.IsInstanceOfType(TwentyFour, typeof(TV)); }
public void TwentyFourTest6() { Title TwentyFour = new TV(204); TV tv = new TV(204); TwentyFour.name = "24"; TwentyFour.rating = 4; string TwentyFourInfo; TwentyFourInfo = TwentyFour.ToString(); Console.WriteLine(TwentyFourInfo); Assert.IsNotNull(tv.episodes); }