prj03-group06/src/tests/GraphPanelTest.java
@Test
	void testGetSetSensorType() {
		GraphPanel panel = new GraphPanel(500, 650);
		for (int i=0; i<GraphPanel.NUM_SENSORS; i++) {
			panel.setSensorType(i);
			assertEquals(i, panel.getSensorType());
		}
	}
/**
	 * Tests the getting and setting of the sensor type
	 */
Tests the getting and setting of the sensor type
Tests the getting and setting of the sensor type
@Test
	void testGetSetSensorType() {
		GraphPanel panel = new GraphPanel(500, 650);
		for (int i=0; i<GraphPanel.NUM_SENSORS; i++) {
			panel.setSensorType(i);
			assertEquals(i, panel.getSensorType());
		}
	}
@ Test void testGetSetSensorType ( ) { GraphPanel panel = new GraphPanel ( 500 , 650 ) ; for ( int i = 0 ; i < GraphPanel . NUM_SENSORS ; i ++ ) { panel . setSensorType ( i ) ; assertEquals ( i , panel . getSensorType ( ) ) ; } }
Tests the getting and setting of the sensor type
Tests the getting and setting of the sensor type