Project 1 Test Cases
These are just short descriptions of the test cases that
will be run by the autograder, so that you can somewhat
interpret the autograder's results when you submit early.
-
ThreadGrader1: Condition2
- Test ThreadGrader1.a: Tests your condition variables using a few threads
- Test ThreadGrader1.b: Tests your condition variables using many threads
-
ThreadGrader2: Communicator
- Test ThreadGrader2.a: Tests your communicator
- Test ThreadGrader2.b: Tests your communicator, with more
speakers/listeners
- Test ThreadGrader2.c: Tests your communicator, with more
speakers/listneers, and transmits more messages
-
ThreadGrader3: Join
- Test ThreadGrader3.a: Tries a join on thread x before x actually runs
- Test ThreadGrader3.b: Tries a join on thread x after x has completed
-
ThreadGrader4: WaitUntil
- Test ThreadGrader4.a: Tests waitUntil to ensure it waits at least
minimum amount of time
- Test ThreadGrader4.b: Tests whether waitUntil actually wakes up
at correct time
-
ThreadGrader5: Priority Scheduling
- Test ThreadGrader5.a: Tests priority scheduler without donation
- Test ThreadGrader5.c: Tests priority scheduler without donation,
altering priorities of threads after they've started running
-
ThreadGrader6a: More Priority Scheduling
- Test ThreadGrader6a.a: Tests priority donation
- Test ThreadGrader6a.b: Tests priority donation with more locks
and more complicated resource allocation
- ElevatorBankGrader: Stress Elevators and Riders
- Test ElevatorBankGrader.a1: Stress-test elevator controller with our
riders
- Test ElevatorBankGrader.a1: Stress-test elevator controller with our
riders, with more of everything
- Test ElevatorBankGrader.b1: Stress-test elevator riders with our
controller
- Test ElevatorBankGrader.b1: Stress-test elevator riders with our
controller, with more of everything
- Test ElevatorBankGrader.c1: Stress-test elevator controller and riders
- Test ElevatorBankGrader.c2: Stress-test elevator controller and riders,
with more of everything
-
RiderGrader: Riders
- Test RiderGrader.4: Test rider
- Test RiderGrader.5: Test rider with special elevator behavior
- Test RiderGrader.6: Test rider and checks that it finishes properly