Tests: Added unicode tests

This commit is contained in:
Paul Beckingham 2016-01-14 17:26:34 -05:00
parent 55412ac924
commit f4b3f5ea87
4 changed files with 71 additions and 2 deletions

View file

@ -35,7 +35,7 @@
// Static
//
// TODO This list should be derived from the Unicode database.
bool unicodeWhitespace (int c)
bool unicodeWhitespace (unsigned int c)
{
return (c == 0x0020 || // space Common Separator, space
c == 0x0009 || // Common Other, control HT, Horizontal Tab