For instance, in the above example, for the first case, a test case needs to be written for the initial as well as final value, i.e., for 0 and 39. The invalid test cases also need to be written, to ensure if the value tested comes under this test case or not.