public static void main(String[] args)
public static void main(String[] args) {
RectangleTests test = new RectangleTests();
test.testSetSmall();
test.testSetLarge();
}
public class RectangleTests { public void testSetSmall() { } public void testSetLarge() { } //======================================= public static void main(String[] args) { RectangleTests test = new RectangleTests(); test.testSetSmall(); test.testSetLarge(); } }
public class PersonTests { //======================================= //Instance Methods public void testBasic() { //Code to test objects here... } //======================================= //Entry point when we run this class public static void main(String[] args) { PersonTests personTest = new PersonTests(); personTest.testBasic(); } }