prj03-group06/src/tests/RainfallTest.java
@Test
	public void testNegative() {
		int rainfall = station.getRain();
		if (rainfall < 0) {
			fail("Rainfall is in negative.");
		} 
	}
/**
	 * Test for negative reading values on sensor
	 */
Test for negative reading values on sensor
Test for negative reading values on sensor
@Test
	public void testNegative() {
		int rainfall = station.getRain();
		if (rainfall < 0) {
			fail("Rainfall is in negative.");
		} 
	}
@ Test public void testNegative ( ) { int rainfall = station . getRain ( ) ; if ( rainfall < 0 ) { fail ( "Rainfall is in negative." ) ; } }
Test for negative reading values on sensor
Test for negative reading values on sensor