nasa / bplib

Apache License 2.0
27 stars 13 forks source link

Improve testing for "common" submodule #179

Closed jphickey closed 1 year ago

jphickey commented 1 year ago

The "ut-coverage" tests within this component need to have test cases added in order to obtain full source coverage.

The initial implementation is reporting at 91.9% lines, 98.0% functions, 87.3% branches, and nothing for the inline functions in the headers (inc). This should ideally be 100% for all.

Additionally, the rbtest program should be converted to UT assert and moved into the common submodule, as it is a functional test focused on the RB tree implementation (note that this test should link with the normal build, not a coverage build).