prj03-group06/src/tests/RainfallTest.java
@Test
	public void testMinimumAndMaximum() {
		int rainfall = station.getRain();
		boolean range;
		if (rainfall >= 0 && rainfall <= 100) {
			range = true;
		} else {
			range = false;
		}
		assertTrue(range, "Rainfall is in range.");
	}
/**
	 * Test for reading values within sensor gauge range
	 */
Test for reading values within sensor gauge range
Test for reading values within sensor gauge range
@Test
	public void testMinimumAndMaximum() {
		int rainfall = station.getRain();
		boolean range;
		if (rainfall >= 0 && rainfall <= 100) {
			range = true;
		} else {
			range = false;
		}
		assertTrue(range, "Rainfall is in range.");
	}
@ Test public void testMinimumAndMaximum ( ) { int rainfall = station . getRain ( ) ; boolean range ; if ( rainfall >= 0 && rainfall <= 100 ) { range = true ; } else { range = false ; } assertTrue ( range , "Rainfall is in range." ) ; }
Test for reading values within sensor gauge range
Test for reading values within sensor gauge range