tests
Class Validation_Elevator_Stupid
java.lang.Object
tests.Validation_Elevator_Stupid
public class Validation_Elevator_Stupid
- extends java.lang.Object
Validation test for an Elevator
controlled by StupidController
Expected output:
Elevator State:
Direction = STAY
Floor = 0
Number of floors = 5
Requested Floors Inside Elevator: 1 4
Direction Requests For Elevator At Floor: 0- 1- 2-D 3-U 4-
Controller type = Stupid Controller
Stopping at next floor
Elevator State:
Direction = UP
Floor = 1
Number of floors = 5
Requested Floors Inside Elevator: 4
Direction Requests For Elevator At Floor: 0- 1- 2-D 3-U 4-
Controller type = Stupid Controller
Stopping at next floor
Elevator State:
Direction = UP
Floor = 2
Number of floors = 5
Requested Floors Inside Elevator: 4
Direction Requests For Elevator At Floor: 0- 1- 2-D 3-U 4-
Controller type = Stupid Controller
Stopping at next floor
Elevator State:
Direction = UP
Floor = 3
Number of floors = 5
Requested Floors Inside Elevator: 4
Direction Requests For Elevator At Floor: 0- 1- 2-D 3- 4-
Controller type = Stupid Controller
Stopping at next floor
Elevator State:
Direction = UP
Floor = 4
Number of floors = 5
Requested Floors Inside Elevator:
Direction Requests For Elevator At Floor: 0- 1- 2-D 3- 4-
Controller type = Stupid Controller
Stopping at next floor
Elevator State:
Direction = DOWN
Floor = 3
Number of floors = 5
Requested Floors Inside Elevator:
Direction Requests For Elevator At Floor: 0- 1- 2-D 3- 4-
Controller type = Stupid Controller
Stopping at next floor
Elevator State:
Direction = DOWN
Floor = 2
Number of floors = 5
Requested Floors Inside Elevator:
Direction Requests For Elevator At Floor: 0- 1- 2- 3- 4-
Controller type = Stupid Controller
Stopping at next floor
Elevator State:
Direction = DOWN
Floor = 1
Number of floors = 5
Requested Floors Inside Elevator:
Direction Requests For Elevator At Floor: 0- 1- 2- 3- 4-
Controller type = Stupid Controller
Stopping at next floor
Elevator State:
Direction = DOWN
Floor = 0
Number of floors = 5
Requested Floors Inside Elevator:
Direction Requests For Elevator At Floor: 0- 1- 2- 3- 4-
Controller type = Stupid Controller
Stopping at next floor
Elevator State:
Direction = UP
Floor = 1
Number of floors = 5
Requested Floors Inside Elevator:
Direction Requests For Elevator At Floor: 0- 1- 2- 3- 4-
Controller type = Stupid Controller
Stopping at next floor
Elevator State:
Direction = UP
Floor = 2
Number of floors = 5
Requested Floors Inside Elevator:
Direction Requests For Elevator At Floor: 0- 1- 2- 3- 4-
Controller type = Stupid Controller
Stopping at next floor
Elevator State:
Direction = UP
Floor = 3
Number of floors = 5
Requested Floors Inside Elevator:
Direction Requests For Elevator At Floor: 0- 1- 2- 3- 4-
Controller type = Stupid Controller
Stopping at next floor
Elevator State:
Direction = UP
Floor = 4
Number of floors = 5
Requested Floors Inside Elevator:
Direction Requests For Elevator At Floor: 0- 1- 2- 3- 4-
Controller type = Stupid Controller
- Version:
- 1
- Author:
- J Paul Gibson
Method Summary |
static void |
main(java.lang.String[] args)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Validation_Elevator_Stupid
public Validation_Elevator_Stupid()
main
public static void main(java.lang.String[] args)