### Question:
Value { public final long getCount() { return count; }  final double getValue(); final double getSum(); final long getCount(); final void add(final double value); final void addInterpolated(final double value); final boolean valueIsInterpolated(); final void remove(final double value);  }### Answer:
@Test public void testGetCount() throws Exception { Value victim = new Value(); Double[] testValues = new Double[]{1.0, 1.1, 2.0, 2.1}; for (Double value : testValues) { victim.add(value); } assertTrue(testValues.length == victim.getCount()); }