@Test public void testGetValue() throws Exception { QueryResultDataPoint subject = new QueryResultDataPoint(); Assert.assertEquals("Value of uninitialized QueryResultDataPoint should be zero.", subject.getValue(), 0.0, EPSILON); QueryResultDataPoint initializedSubject = new QueryResultDataPoint(initialTime, initialValue); Assert.assertEquals("Value of initialized QueryResultDataPoint should match given value.", initializedSubject.getValue(), initialValue, EPSILON); }
public double getValue() { return value; }
QueryResultDataPoint { public double getValue() { return value; } }
QueryResultDataPoint { public double getValue() { return value; } QueryResultDataPoint();  QueryResultDataPoint(long timestamp, double value); }
QueryResultDataPoint { public double getValue() { return value; } QueryResultDataPoint();  QueryResultDataPoint(long timestamp, double value); long getTimestamp(); void setTimestamp(long timestamp); double getValue(); void setValue(double value); @Override boolean equals(Object o); @Override int hashCode(); }
QueryResultDataPoint { public double getValue() { return value; } QueryResultDataPoint();  QueryResultDataPoint(long timestamp, double value); long getTimestamp(); void setTimestamp(long timestamp); double getValue(); void setValue(double value); @Override boolean equals(Object o); @Override int hashCode();  }