Since we need to write the test case, and the test case file is in different .java file, and we need to use some of the member function or variable to do the test. Do we need to change the modifier of those object or method from 'private' to 'public'? If not, is there any other ways to write the test case?
Since we need to write the test case, and the test case file is in different .java file, and we need to use some of the member function or variable to do the test. Do we need to change the modifier of those object or method from 'private' to 'public'? If not, is there any other ways to write the test case?