In: Computer Science
The charging min value is zero and max value is 100. When the
charger is not plugged, the robot is in discharging state and the
battery decreases. When charger is attached, the state is changed
to charging and the value increase. Once it reaches the max
limit, the state changes to battery full.
Q) Write boundary value analysis for battery level.
Q) Write test cases for battery level for both valid and invalid.