This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
charnames.t: tweak amount of testing of CJK chars
authorKarl Williamson <public@khwilliamson.com>
Mon, 2 Aug 2010 22:42:25 +0000 (16:42 -0600)
committerRafael Garcia-Suarez <rgs@consttype.org>
Fri, 13 Aug 2010 12:36:20 +0000 (14:36 +0200)
commite4b4d0cc90ea801f118be8e27b7e78e05b398467
tree3fe31814babf1d7e9a764d853692ea9f8b6260b1
parenta28b016699ec02a4ee4b83e23d8f22df52e18a44
charnames.t: tweak amount of testing of CJK chars

Actually, this tweaks the amount of testing of characters whose names are
algorithmically determinable, most of which are CJK characters.

This patch changes the testing to test not 1% of them, but to test 1 in
each block, no matter what the block size.  We really don't need to test
many of these to be confident the algorithm is working.

It also adds some comments to clarify what happens if one tweaks the
block size.
lib/charnames.t