auto ret = {} for (auto i = 0; i < 5; ++i) { ret.push_back(i); } assert_equal({0,1,2,3,4}, ret);