ex) The value valid in 0 - 99 0 - 49 : A process 50 - 89 : B process 90 - 99 : Nothing 0, 1, 2, …49 can be think as same classified value for A We don’t need to test every number for A.
have a bug. If invalid value have assigned such as -1, what will be happened ? If the value assigned 49.999, what will be happened ? We need to test it. if we want to test for A process. -1 : Should not process as A 0 : Should process as A 49 : Should process as A 50 : Should not process as A A -1 0 49 50