Ejemplo n.º 1
0
        public void AviableonWeekend()
        {
            string date     = "01/18/2020";
            string number   = "1111";
            string hour     = "21:30";
            string expected = "Aviable to be on the road";

            picoPlaca obj = new picoPlaca();

            obj.Date   = date;
            obj.Number = number;
            obj.Hour   = hour;

            string result = obj.PicoPlacas(obj);

            Assert.AreEqual(expected, result);
        }
Ejemplo n.º 2
0
        public void noAviableintheAfternoon()
        {
            string date     = "01/13/2020";
            string number   = "1111";
            string hour     = "18:30";
            string expected = "No aviable to be on the road from  16:30 to 19:30";

            picoPlaca obj = new picoPlaca();

            obj.Date   = date;
            obj.Number = number;
            obj.Hour   = hour;

            string result = obj.PicoPlacas(obj);

            Assert.AreEqual(expected, result);
        }