prj03-group06/src/tests/SunsetTest.java
@Test
	public void testMinute() {
		String sunset = gui.getSunset();
		int minute = Integer.parseInt(sunset.substring(11, 12));
		boolean pmMinute;
		if (minute >= 0 && minute <= 59) {
			pmMinute = true;
		} else {
			pmMinute = false;
		}
		assertTrue(pmMinute, "P.M. minute isn't within --:00 to --:59 ");
	}
/**
	 * Test the minute of the sunset
	 */
Test the minute of the sunset
Test the minute of the sunset
@Test
	public void testMinute() {
		String sunset = gui.getSunset();
		int minute = Integer.parseInt(sunset.substring(11, 12));
		boolean pmMinute;
		if (minute >= 0 && minute <= 59) {
			pmMinute = true;
		} else {
			pmMinute = false;
		}
		assertTrue(pmMinute, "P.M. minute isn't within --:00 to --:59 ");
	}
@ Test public void testMinute ( ) { String sunset = gui . getSunset ( ) ; int minute = Integer . parseInt ( sunset . substring ( 11 , 12 ) ) ; boolean pmMinute ; if ( minute >= 0 && minute <= 59 ) { pmMinute = true ; } else { pmMinute = false ; } assertTrue ( pmMinute , "P.M. minute isn't within --:00 to --:59 " ) ; }
Test the minute of the sunset
Test the minute of the sunset