nicer error
This commit is contained in:
parent
20fd9d0714
commit
24d07b9044
|
@ -62,7 +62,7 @@ public class ProteusAnalogTest extends RusefiTestBase {
|
|||
|
||||
void assertSensorValue(Sensor sensor, double expected) {
|
||||
double actual = SensorCentral.getInstance().getValue(sensor);
|
||||
assertEquals(expected, actual, 0.5);
|
||||
assertEquals(sensor.toString(), expected, actual, 0.5);
|
||||
}
|
||||
|
||||
@Test
|
||||
|
|
Loading…
Reference in New Issue