On Mon, Jan 21, 2008 at 11:24:52PM +0100, Cosimo Streppone wrote: > Hi all, > > I'm in the process of refactoring existing pugs test suite, > for example t/builtins, into t/spec/S29-xxxx. > > Questions: > > - @array.uniq is not mentioned in S29. > Should it be in S29/List? or S29/Array?
List, where you have already put it, I see. :) > - cis(), polar() and friends belong to S29/Num > while they should probably belong to S29/Complex? There are conflicting theories on this. S29 tends to be structured around which class the method would live in, so it has cis in Num and polar in Complex. Another theory is that documentation about exotic types like Complex should be all grouped in one spot regardless of which way the types are, since Num obviously has enough problems of its own without getting into Complex issues. :) I'd say for the test suite the latter theory would tend to keep everything from ending up in one huge Num test file. But it doesn't really matter. By the way, see http://www.perlmonks.org/?node_id=444996 on the difference between "doubt" and "question". In English it comes across as if you are "disbelieving" S29. Which maybe you are, but I doubt it. Anyway, it's one of those spots where cognates can lead you astray because of semantic shifts. Similarly, "demand" means something different to English and French speakers. (When the Norman conquerors came over and "asked" for something, not giving it to them was not considered an option. :) Larry