perl-unicode

Re: [not-yet-a-PATCH] compress Encode better

2002-11-04 03:30:04
Nicholas Clark <nick(_at_)unfortu(_dot_)net> writes:
I've not looked at what the
Encode regression tests actually do, so I don't know how thoroughly they
check whether the transformations are actually correct. In other words,
done correctly this approach *will* generate the same transformation tables
as before, and although I *think* I'm doing it correctly (without the -O;
patches welcome) I'm not certain of this.

Someone could/should write a generic test that pushes all codepoints 
supported by a .ucm file both ways through the generated encoder 
and checks for correctness. This would be a pointless thing to do 
as part of perl's "make test" as once the "compiler" works it works,
but would be useful for folk working on the compile process.

-- 
Nick Ing-Simmons
http://www.ni-s.u-net.com/