Menu
Logged-In As
ACCOUNTNot Logged In
Create an utility library (LIBBU) API unit test for any fileBRL-CAD
Status: ClosedTime to complete:
100 hrs
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.
References:
- include/bu.h
- src/libbu/bomb.c
- src/libbu/tests/*.c
Code:
- 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.
Uploaded Work
File name/URL | File size | Date submitted | |
---|---|---|---|
task-add-bu-str-tests.diff | 9.8 KB | December 03 2014 20:21 UTC | |
task-add-bu-str-tests-v2.diff | 9.8 KB | December 04 2014 15:49 UTC |
I would like to work on this task.
This task has been assigned to Andromeda Galaxy. You have 100 hours to complete this task, good luck!
The work on this task is ready to be reviewed.
I found only one small mistake: The year in src/libbu/tests/bu_str.c after the Copyright should be 2014 only.
One of the mentors has sent this task back for more work. Talk to the mentor(s) assigned to this task to satisfy the requirements needed to complete this task, submit your work again and mark the task as complete once you re-submit your work.
The work on this task is ready to be reviewed.
Everything works ok! Tested on latest revision, well done ! :)
Congratulations, this task has been completed successfully.