/**
 * A Driver for testing the Clock and AlarmClock classes
 */
public class Tester3
{
    /**
     * The enty point of the application
     *
     * @param args  The command line arguments
     */
    public static void main(String[] args)
    {
	AlarmClock        home;
	Clock             paris;

	home = new AlarmClock();
	paris = new Clock("Paris");

	setup(home);
	setup(paris);
    }


    /**
     * Setup a clock
     *
     * @param clock   The clock to setup
     */
    private static void setup(AlarmClock clock)
    {
	clock.reverseColors();
	clock.turnAlarmOn();
    }

}
