Skip to main content
. 2017 Sep 11;10:31. doi: 10.1186/s13040-017-0151-7

Table 4.

Using the RUnit library to perform unit tests for a function converting measurements of lipids from mmol/L to mg/dL

graphic file with name 13040_2017_151_Figb_HTML.jpg

Combinations of valid, invalid, and missing function parameters are tested and the output returned from the function is examined