GSoC/GCI Archive
Google Code-in 2014 BRL-CAD

Create an utility library (LIBBU) API unit test for any file

completed by: Andromeda Galaxy

mentors: Kesha Shah, Mandeep Kaur

There are several dozen files in our core LIBBU library. As a core library used by nearly every one of BRL-CAD's tools, testing those functions for correct behavior is important.


  • include/bu.h
  • src/libbu/bomb.c
  • src/libbu/tests/*.c


  • src/libbu/tests/bomb.c
  • src/libbu/tests/CMakeLists.txt

This task involves implementing a new unit test for any of LIBBU's source files that do not already have a unit test defined. The test should run all of the public functions and be hooked into our build system. We have lots of existing unit tests to follow as an example.