Project
Loading...
Searching...
No Matches
tests.h File Reference

Contains 210 unit tests at compile-time to verify everything. More...

#include <cassert>
#include <SI/literals.h>

Go to the source code of this file.

Namespaces

namespace  SI

Functions

void SI::checkFeatures ()
 This just shows what's possible, the serious checks follow below.
void SI::checkDatatypes ()
 Checks the basic datatypes of C/C++ and libSI.
void SI::checkBaseUnits ()
 Checks the SI base units.
void SI::checkDerivedUnits ()
 Checks the SI derived units.
void SI::checkAstronomicalUnits ()
 Checks the astronomical units.
void SI::checkImperialUnits ()
 Checks the Imperial units.
void SI::checkDigitalUnits ()
 Checks the digital units.
void SI::checkVariousUnits ()
 Checks various units.
void SI::checkFunctionsAndTemplates ()
 Checks the functions and templates.

Detailed Description

Contains 210 unit tests at compile-time to verify everything.

Categories are: features, datatypes, base units, derived units, astronomical units, imperial units, digital units, various units, functions and templates