prj03-group06/src/tests/SunriseTest.java
@Test
	public void testMinute() {
		String sunrise = gui.getSunrise();
		int minute = Integer.parseInt(sunrise.substring(12, 13));
		boolean morningMinute;
		if (minute >= 0 && minute <= 59) {
			morningMinute = true;
		} else {
			morningMinute = false;
		}
		assertTrue(morningMinute, "Morning minute isn't within --:00 to --:59 ");
	}
/**
	 * Test for the minute of sunrise
	 */
Test for the minute of sunrise
Test for the minute of sunrise
@Test
	public void testMinute() {
		String sunrise = gui.getSunrise();
		int minute = Integer.parseInt(sunrise.substring(12, 13));
		boolean morningMinute;
		if (minute >= 0 && minute <= 59) {
			morningMinute = true;
		} else {
			morningMinute = false;
		}
		assertTrue(morningMinute, "Morning minute isn't within --:00 to --:59 ");
	}
@ Test public void testMinute ( ) { String sunrise = gui . getSunrise ( ) ; int minute = Integer . parseInt ( sunrise . substring ( 12 , 13 ) ) ; boolean morningMinute ; if ( minute >= 0 && minute <= 59 ) { morningMinute = true ; } else { morningMinute = false ; } assertTrue ( morningMinute , "Morning minute isn't within --:00 to --:59 " ) ; }
Test for the minute of sunrise
Test for the minute of sunrise