QL.info("Testing transformed grid construction...");
final PlusOne p1 = new PlusOne();
final Array grid = Grid.BoundedGrid(0, 100, 100);
final TransformedGrid tg = new TransformedGrid(grid, p1);
if (Math.abs(tg.grid(0) - 0.0) > 1e-5) {
fail("grid creation failed");
}
if (Math.abs(tg.transformedGrid(0) - 1.0) > 1e-5) {
fail("grid transformation failed");
}
}