Used floorTypes.getValue() in robot.java and added test cases for power