Skip to main content

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

From: Methods for enhancing the reproducibility of biomedical research findings using electronic health records

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