### Question:
LinearValueScale implements ValueScale { @Override public double invScaleValue(double scaleValue, double minValue, double maxValue, double newMinValue, double newMaxValue) { return scaleValue(scaleValue, newMinValue, newMaxValue, minValue, maxValue); }  @Override double scaleValue(double value, double minValue, double maxValue, double newMinValue, double newMaxValue); @Override double invScaleValue(double scaleValue, double minValue, double maxValue, double newMinValue, double newMaxValue); @Override ValueAxis references(Range range, int minRefs, int maxRefs);  }### Answer:
@Test public void invScaleValue1() { ValueScale linearScale = ValueScales.linearScale(); assertThat(linearScale.invScaleValue(50.0, 3, 4, 0, 100), equalTo(3.5)); }
@Test public void invScaleValue2() { ValueScale linearScale = ValueScales.linearScale(); assertThat(linearScale.invScaleValue(0.0, 3, 4, -100, 100), equalTo(3.5)); }