Beispiel #1
0
        public void ShortCleaningTask(int Id)
        {
            Bus bus = new Bus(Id);

            using (AlgorithmCleaning Algoritme = new AlgorithmCleaning())
                Algoritme.renstester(bus);
            Assert.Equal(MaintenanceType.ShortCleaning, bus.Tasks[0].type);
        }
Beispiel #2
0
        public void ReturnBusList(int Id)
        {
            Bus bus = new Bus(Id);

            using (AlgorithmCleaning Algoritme = new AlgorithmCleaning())
                Algoritme.renstester(bus);
            Assert.Equal(MaintenanceType.LongCleaning, bus.Tasks[0].type);
        }