Dennis Chao Test Cases Part 1 Test Inputs 1. inp_cast_sensor_up A. Check if the sensor works by tapping it and seeing if the motor stops. 2. inp_cast_sensor_down A. Check if the sensor works by tapping it and seeing if the motor stops. 3. inp_cast_tog_switch A. Check if the toggle switch works by moving the switch and seeing if the motor moves. Part 2 checking constants. 1. ON A. I will flip the switch, I expect the motor to go clockwise 2. OFF A. I will flip the switch, I expect the motor to go counter clockwise 3. C_CAST_SWITCH_UP A. I need to check if the switches are corresponding with the ON and OFF constants. 4. C_CAST_SWITCH_DOWN A. I need to check if the switches are corresponding with the ON and OFF constants. 5. C_CAST_REV A. I will see if the speed on the motors are fast with not burning out the motor. 6. C_CAST_FWD A. I will see if the speed on the motors are fast with not burning out the motor. Part 3 debug all valuse to assure correctness Case 1 INPUT Flip the caster switch up. (INPUT = 1) OUTPUT The caster should lower into the down position. (OUTPUT = 225) Case 2 INPUT Flip the caster switch from up to down. (INPUT =1 then 0) OUTPUT The caster should go back into the up position. (OUTPUT = 225) Case 3 INPUT The switch is in the default position of down. (INPUT = 0) OUTPUT The caster should stay in the up position. (OUTPUT = 127) Case 4 INPUT The switch was in the up position and is still in the up position. (INPUT = 1) OUTPUT The caster should stay in the down position. (OUTPUT = 127)