Closed rchillyard closed 4 years ago
Yes, I know. But for such a complex method with so many cases, I don't think one test is really sufficient. Plus, I'd like to see more of an explanation of what the test does, what's unique, etc. :)
I pushed a branch to work on this issue. The reason why there are just a few tests is that it is really difficult to manually encode UTF-8 longs. Well, if you think this is no enough, I should be able to work on some other cases such as German or maybe Japanese.
https://github.com/rchillyard/HuskySort/tree/addMoreUTF8Tests
We don't have a good level of comfort that the UTF8 encoding is working correctly. It's quite complex and, to be honest, I don't really understand UTF8 myself. Yunlu wrote the encoding but I'd suggest that Darshan could create some tests.