I have written some basic test cases for time module . Please find
them attached.
The source files with the unit tests are ok. But before to write the
source code of the unit tests it is much better to document the set of
tests in the TSD document (doc/gnupdf-tsd.texi). That allow us to
concentrate in the specification of the tests (what tests would be
enough to test a given function, positive tests, negative tests, etc).
Also, it is much better to implement the previously designed tests
only when the implementation of the software under test is available.