Functions
test_math_utils.cpp File Reference

Testing the math utils library. More...

#include "sr_utilities/sr_math_utils.hpp"
#include <gtest/gtest.h>
Include dependency graph for test_math_utils.cpp:

Go to the source code of this file.

Functions

int main (int argc, char **argv)
 
 TEST (Pow, base2)
 
 TEST (Pow, base3)
 
 TEST (BitMasks, is_true__true_0)
 
 TEST (BitMasks, is_true__false_1)
 
 TEST (BitMasks, is_false__false_0)
 
 TEST (BitMasks, is_false__true_1)
 
 TEST (BitMasksGlobal, is_true__true)
 
 TEST (BitMasksGlobal, is_false__false)
 
 TEST (BitMasksGlobal, is_true__false)
 
 TEST (BitMasksGlobal, is_false__true)
 
 TEST (CounterWithOverflow, no_overflows)
 
 TEST (CounterWithOverflow, with_overflows)
 

Detailed Description

Testing the math utils library.

Author
Ugo Cupcic ugo@s.nosp@m.hado.nosp@m.wrobo.nosp@m.t.co.nosp@m.m
Date
Mon Jun 20 10:27:36 2011

Definition in file test_math_utils.cpp.

Function Documentation

◆ main()

int main ( int  argc,
char **  argv 
)

Definition at line 144 of file test_math_utils.cpp.

◆ TEST() [1/12]

TEST ( Pow  ,
base2   
)

Definition at line 30 of file test_math_utils.cpp.

◆ TEST() [2/12]

TEST ( Pow  ,
base3   
)

Definition at line 39 of file test_math_utils.cpp.

◆ TEST() [3/12]

TEST ( BitMasks  ,
is_true__true_0   
)

Definition at line 46 of file test_math_utils.cpp.

◆ TEST() [4/12]

TEST ( BitMasks  ,
is_true__false_1   
)

Definition at line 53 of file test_math_utils.cpp.

◆ TEST() [5/12]

TEST ( BitMasks  ,
is_false__false_0   
)

Definition at line 60 of file test_math_utils.cpp.

◆ TEST() [6/12]

TEST ( BitMasks  ,
is_false__true_1   
)

Definition at line 67 of file test_math_utils.cpp.

◆ TEST() [7/12]

TEST ( BitMasksGlobal  ,
is_true__true   
)

Definition at line 74 of file test_math_utils.cpp.

◆ TEST() [8/12]

TEST ( BitMasksGlobal  ,
is_false__false   
)

Definition at line 84 of file test_math_utils.cpp.

◆ TEST() [9/12]

TEST ( BitMasksGlobal  ,
is_true__false   
)

Definition at line 94 of file test_math_utils.cpp.

◆ TEST() [10/12]

TEST ( BitMasksGlobal  ,
is_false__true   
)

Definition at line 103 of file test_math_utils.cpp.

◆ TEST() [11/12]

TEST ( CounterWithOverflow  ,
no_overflows   
)

Definition at line 112 of file test_math_utils.cpp.

◆ TEST() [12/12]

TEST ( CounterWithOverflow  ,
with_overflows   
)

Definition at line 125 of file test_math_utils.cpp.



sr_utilities
Author(s): Ugo Cupcic
autogenerated on Mon Feb 28 2022 23:52:19