public void MCØresundRabatTest() { var MCØresundRabat = new MCØresund(); MCØresundRabat.BroBizz = true; Assert.AreEqual(73, MCØresundRabat.Pris()); }
public int MCØresundRabat() { var mcøresundrabat = new MCØresund(); mcøresundrabat.BroBizz = true; return(mcøresundrabat.Pris()); }
public void MCØresundTest() { var MCøresundpris = new MCØresund(); int pris = MCøresundpris.Pris(); Assert.AreEqual(210, pris); }
public int MCprisØresundBizz() { var billet = new MCØresund(); billet.BroBizz = true; return(billet.Pris()); }
public KoretojDTO Get(int id) { KoretojDTO mitKoretoj = new KoretojDTO(); if (id == 1) { MCØresund minMCØresund = new MCØresund(); mitKoretoj.pris = minMCØresund.Pris(); mitKoretoj.type = minMCØresund.KøreTøjType(); return(mitKoretoj); } if (id == 2) { BilØreSund minBilØresund = new BilØreSund(); mitKoretoj.pris = minBilØresund.Pris(); mitKoretoj.type = minBilØresund.KøreTøjType(); return(mitKoretoj); } else { //BilØreSund minBilØresund = new BilØreSund(); //mitKoretoj.pris = minBilØresund.Pris(); //mitKoretoj.type = minBilØresund.KøreTøjType(); return(mitKoretoj); } }
public void MCØresund_Brobizz() { MCØresund brobizz = new MCØresund(); brobizz.Brobizz = true; Assert.AreEqual(brobizz.Pris(), 73); }
public int MCØresund() { var mcøresund = new MCØresund(); return(mcøresund.Pris()); }
public int GetPriceMC() { MCØresund mcØresund = new MCØresund(); return(mcØresund.Pris()); }
public void MCØresund_køretøj() { MCØresund køretøj = new MCØresund(); Assert.AreEqual(køretøj.køretøj(), "Øresund MC"); }
public void MCØresund_Pris() { MCØresund pris = new MCØresund(); Assert.AreEqual(pris.Pris(), 210); }
public int MCØresund() { var billet = new MCØresund(); return(billet.Pris()); }