prj01-group02/src/tests/WeatherStationPrj01Test.java
@Test
	public void testGetTemp() {
		int[] tempArray;
		for (int i=0; i < 100; i++) {
			myWeatherStation.updateTemp();
			tempArray = myWeatherStation.getTemp();
			for (int theTemp : tempArray) {
				assertEquals(45, theTemp, 65);	
			}
		}
	}
/**
	 * Test updateTemp and getTemp, must be between -20 to 110
	 */
Test updateTemp and getTemp, must be between -20 to 110
Test updateTemp and getTemp must be between - 20 to 110
@Test
	public void testGetTemp() {
		int[] tempArray;
		for (int i=0; i < 100; i++) {
			myWeatherStation.updateTemp();
			tempArray = myWeatherStation.getTemp();
			for (int theTemp : tempArray) {
				assertEquals(45, theTemp, 65);	
			}
		}
	}
@ Test public void testGetTemp ( ) { int [ ] tempArray ; for ( int i = 0 ; i < 100 ; i ++ ) { myWeatherStation . updateTemp ( ) ; tempArray = myWeatherStation . getTemp ( ) ; for ( int theTemp : tempArray ) { assertEquals ( 45 , theTemp , 65 ) ; } } }
Test updateTemp and getTemp, must be between -20 to 110
Test updateTemp and getTemp must be between - 20 to 110