[libposix-development] stdlib tests
Status: Pre-Alpha
Brought to you by:
hdante
From: Henrique A. <hd...@gm...> - 2009-07-09 23:15:01
|
Hello, The stdlib_test.c submitted has too few test coverage. Unit tests must have near full test coverage. Please refer to the wiki for the rules on how to write unit tests for libposix: https://sourceforge.net/apps/mediawiki/libposix/index.php?title=How_to_write_tests The missing coverage includes, non base 10, base 0, base > 10, testing for endptr, testing strings with garbage, testing endptr == NULL and testing out or range values (ex: try 256 bit integers). Don't worry that the current implementations fail the test. The functions may be developed gradually, but not the unit tests. Currently, TaskFreak seems to be broken, I'll add that task when it works, but start fixing that in the meantime. Remember to add a copyright line to CMakeLists.txt And thanks for the commit, off course. -- Henrique Dante de Almeida hd...@gm... |