
26 Jan
2013
26 Jan
'13
11:51 a.m.
On 21 January 2013 21:03, Ganesh Sittampalam
I couldn't spot any tests. Some ideas:
- It uses a few different implementations of toLower (Data.Char, Text, toLower8) depending on how it is being used. Those implementations could be tested against each other.
- Some concrete test cases including ASCII, ISO-8859-1 and Unicode characters.
I added a simple test-suite which tests case-insensitive ASCII and ISO-8859-1 string comparisons: https://github.com/basvandijk/case-insensitive/blob/hp/test/test.hs