public void MCØresundRabatTest()
        {
            var MCØresundRabat = new MCØresund();

            MCØresundRabat.BroBizz = true;
            Assert.AreEqual(73, MCØresundRabat.Pris());
        }
Example #2
0
        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);
        }
Example #4
0
        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);
            }
        }
Example #6
0
        public void MCØresund_Brobizz()
        {
            MCØresund brobizz = new MCØresund();

            brobizz.Brobizz = true;

            Assert.AreEqual(brobizz.Pris(), 73);
        }
Example #7
0
        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());
        }
Example #9
0
        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");
        }
Example #10
0
        public void MCØresund_Pris()
        {
            MCØresund pris = new MCØresund();

            Assert.AreEqual(pris.Pris(), 210);
        }
Example #11
0
        public int MCØresund()
        {
            var billet = new MCØresund();

            return(billet.Pris());
        }