void propagate_estimate_test() { Param<int> p; p.set_estimate(10); ImageParam img(Int(32), 2); img.dim(0).set_bounds_estimate(-3, 33); img.dim(1).set_bounds_estimate(5, 55); Var x("x"), y("y"); check(p + x + y, x + y + 10); check(img.dim(0).min() + img.dim(1).min() + x, x + 2); check(img.dim(0).extent() + img.dim(1).min() + img.dim(1).extent()*x, 55*x + 38); std::cout << "Propagate estimate test passed" << std::endl; }