assert(range(1, 2) + 1 == range(2, 3)); assert(1 + range(1, 2) == range(2, 3));
auto a = range(10, 20); auto b = range(10, 20); auto c = a * b; assert(c.avg == 225);
See Implementation