prj03-group06/src/tests/RainfallTest.java
@Test
	public void testPositive() {
		int rainfall = station.getRain();
		boolean positive;
		if (rainfall >= 0) {
			positive = true;
		} else {
			positive = false;
		}
		assertTrue(positive, "Rainfall is in negative.");
	}
/**
	 * Test for positive reading values on sensor
	 */
Test for positive reading values on sensor
Test for positive reading values on sensor
@Test
	public void testPositive() {
		int rainfall = station.getRain();
		boolean positive;
		if (rainfall >= 0) {
			positive = true;
		} else {
			positive = false;
		}
		assertTrue(positive, "Rainfall is in negative.");
	}
@ Test public void testPositive ( ) { int rainfall = station . getRain ( ) ; boolean positive ; if ( rainfall >= 0 ) { positive = true ; } else { positive = false ; } assertTrue ( positive , "Rainfall is in negative." ) ; }
Test for positive reading values on sensor
Test for positive reading values on sensor