PER Firmware
Loading...
Searching...
No Matches
dearunits_test.cpp File Reference

DearUnits runtime unit tests. More...

#include <gtest/gtest.h>
#include "dearunits_test_shim.h"
Include dependency graph for dearunits_test.cpp:

Functions

 TEST (DearUnitsTest, ScaleConversions)
 
 TEST (DearUnitsTest, OffsetConversions)
 
 TEST (DearUnitsTest, SameUnitArithmetic)
 
 TEST (DearUnitsTest, DimensionalArithmetic)
 
 TEST (DearUnitsTest, ScalarArithmetic)
 
 TEST (DearUnitsTest, CompoundConstructor)
 
 TEST (DearUnitsTest, Helpers)
 
 TEST (DearUnitsTest, SquareAndRoot)
 
 TEST (DearUnitsTest, Reciprocals)
 

Detailed Description

DearUnits runtime unit tests.

Author
Irving Wang (irvin.nosp@m.gw@p.nosp@m.urdue.nosp@m..edu)

Function Documentation

◆ TEST() [1/9]

TEST ( DearUnitsTest ,
CompoundConstructor  )
Here is the call graph for this function:

◆ TEST() [2/9]

TEST ( DearUnitsTest ,
DimensionalArithmetic  )
Here is the call graph for this function:

◆ TEST() [3/9]

TEST ( DearUnitsTest ,
Helpers  )
Here is the call graph for this function:

◆ TEST() [4/9]

TEST ( DearUnitsTest ,
OffsetConversions  )
Here is the call graph for this function:

◆ TEST() [5/9]

TEST ( DearUnitsTest ,
Reciprocals  )
Here is the call graph for this function:

◆ TEST() [6/9]

TEST ( DearUnitsTest ,
SameUnitArithmetic  )
Here is the call graph for this function:

◆ TEST() [7/9]

TEST ( DearUnitsTest ,
ScalarArithmetic  )
Here is the call graph for this function:

◆ TEST() [8/9]

TEST ( DearUnitsTest ,
ScaleConversions  )
Here is the call graph for this function:

◆ TEST() [9/9]

TEST ( DearUnitsTest ,
SquareAndRoot  )
Here is the call graph for this function: