assertEquals(new Interval(10, 10), ds.getRangeExtrema(0));
assertEquals(0.0, ds.getMinDomainInterval());
}
public void testGeneral() {
OODoubleArray domain = new OODoubleArray(new double[] {1000, 2000, 3000, 4000});
OODoubleArray range = new OODoubleArray(new double[] {10, 50, 40, 60});
DatasetRequest.Basic request = dsMaker.newRequest(domain.getArray(), range.getArray());
// Basic test that verifies that given the same dataset values, an
// immutable dataset and a mutable dataset (which have different code
// paths for populating their underlying Array2D objects) produce
// the same logical dataset state.