Martin Sebor wrote:
Anton Pevtsov wrote:
[...]
rw_assert (success, 0, __LINE__, "step %zu: partial_sum <%s, %s%{?}, %s%{;}> = %p" " expected %p, difference %td", i + 1, itname, outname, binop, opname, res, dst_end, res - dst_end);I think I now understand your suggestion for an %{Y=*.*} directive analogous to %{X=*.*}. I think we can simply extend class X and define operator+=() et al to avoid having to even define Y. Once we've done than we need to remember to revisit these tests and 1) remove class Y and b) add enhance the diagnostic output to print out the sequences of objects of type X as we do elsewhere.
I just did both with the changes below. Check them out and let me know if you find anything wrong or if you can think of improvements. http://svn.apache.org/viewcvs?rev=381513&view=rev http://svn.apache.org/viewcvs?rev=381511&view=rev Martin
