Exemplo n.º 1
0
        public void TestAlgorithmOne()
        {
            classRooms.Clear();
            classRooms.AddRange(tc.GetClassRooms(1, 1));
            classRooms.AddRange(tc.GetClassRooms(2, 1));
            classRooms.AddRange(tc.GetClassRooms(3, 1));
            classRooms.AddRange(tc.GetClassRooms(4, 1));
            classRooms.AddRange(tc.GetClassRooms(5, 1));
            classRooms.AddRange(tc.GetClassRooms(6, 1));
            classRooms.AddRange(tc.GetClassRooms(7, 1));
            classRooms.AddRange(tc.GetClassRooms(0, 1));

            requests.Clear();
            requests.AddRange(tc.GetRequests(1, 0, 1));
            requests.AddRange(tc.GetRequests(2, 0, 1));
            requests.AddRange(tc.GetRequests(1, 0, 1));
            requests.AddRange(tc.GetRequests(3, 0, 1));
            requests.AddRange(tc.GetRequests(1, 0, 1));

            reqCtrl.doTheFunkyAlgorythm(requests, classRooms);
            Assert.IsTrue(true);
        }