On Thu, Feb 17, 2011 at 3:52 AM, Ovid <publiustemp-perl...@yahoo.com> wrote:
> It's OK if I get back that data structure, but the 2 and 4 records are 
> swapped or maybe the 5 isn't present. However, for any contained array 
> reference its exact data can't change. However, if those came back in the 
> order of 6,5,4,3,2,1, the test should fail (thus, I can't use bag tests).

Do you have actual hard criteria?  Or is it fuzzy/arbitrary?  How do
you know that one swap is OK, but a full reversal is not?

Put differently, with the criteria you describe, I have a hard time
seeing how this could actually be a meaningful test.  Can you explain
more about the problem domain?

-- David

Reply via email to