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

Copyright 2011 Shadow Robot Company Ltd.

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.

Definition in file test_math_utils.cpp.

Function Documentation

int main ( int  argc,
char **  argv 
)

Definition at line 143 of file test_math_utils.cpp.

TEST ( Pow  ,
base2   
)

Definition at line 29 of file test_math_utils.cpp.

TEST ( Pow  ,
base3   
)

Definition at line 38 of file test_math_utils.cpp.

TEST ( BitMasks  ,
is_true__true_0   
)

Definition at line 45 of file test_math_utils.cpp.

TEST ( BitMasks  ,
is_true__false_1   
)

Definition at line 52 of file test_math_utils.cpp.

TEST ( BitMasks  ,
is_false__false_0   
)

Definition at line 59 of file test_math_utils.cpp.

TEST ( BitMasks  ,
is_false__true_1   
)

Definition at line 66 of file test_math_utils.cpp.

TEST ( BitMasksGlobal  ,
is_true__true   
)

Definition at line 73 of file test_math_utils.cpp.

TEST ( BitMasksGlobal  ,
is_false__false   
)

Definition at line 83 of file test_math_utils.cpp.

TEST ( BitMasksGlobal  ,
is_true__false   
)

Definition at line 93 of file test_math_utils.cpp.

TEST ( BitMasksGlobal  ,
is_false__true   
)

Definition at line 102 of file test_math_utils.cpp.

TEST ( CounterWithOverflow  ,
no_overflows   
)

Definition at line 111 of file test_math_utils.cpp.

TEST ( CounterWithOverflow  ,
with_overflows   
)

Definition at line 124 of file test_math_utils.cpp.



sr_utilities
Author(s): Ugo Cupcic
autogenerated on Tue Oct 13 2020 03:55:49