jaulib v1.3.0
Jau Support Library (C++, Java, ..)
Functions
test_int_math01.cpp File Reference
#include <thread>
#include <cassert>
#include <cinttypes>
#include <cstring>
#include <jau/test/catch2_ext.hpp>
#include <jau/int_math.hpp>
Include dependency graph for test_int_math01.cpp:

Go to the source code of this file.

Functions

 TEST_CASE ("Int Math Test 00", "[sign][arithmetic][math]")
 
 TEST_CASE ("Int Math Test 01", "[round][align][arithmetic][math]")
 
 TEST_CASE ("Int Math Test 02", "[abs][arithmetic][math]")
 
 TEST_CASE ("Int Math Test 03a", "[min][max][clip][arithmetic][math]")
 
 TEST_CASE ("Int Math Test 03b", "[ct_min][ct_max][clip2][arithmetic][math]")
 
 TEST_CASE ("Int Math Test 10", "[bits][arithmetic][math]")
 
 TEST_CASE ("Int Math Test 20", "[add][sub][overflow][arithmetic][math]")
 
 TEST_CASE ("Int Math Test 21", "[mul][overflow][arithmetic][math]")
 

Function Documentation

◆ TEST_CASE() [1/8]

TEST_CASE ( "Int Math Test 00"  ,
""  [sign][arithmetic][math] 
)

Definition at line 36 of file test_int_math01.cpp.

◆ TEST_CASE() [2/8]

TEST_CASE ( "Int Math Test 01"  ,
""  [round][align][arithmetic][math] 
)

Definition at line 50 of file test_int_math01.cpp.

◆ TEST_CASE() [3/8]

TEST_CASE ( "Int Math Test 02"  ,
""  [abs][arithmetic][math] 
)

Definition at line 74 of file test_int_math01.cpp.

◆ TEST_CASE() [4/8]

TEST_CASE ( "Int Math Test 03a"  ,
""  [min][max][clip][arithmetic][math] 
)

Definition at line 118 of file test_int_math01.cpp.

◆ TEST_CASE() [5/8]

TEST_CASE ( "Int Math Test 03b"  ,
""  [ct_min][ct_max][clip2][arithmetic][math] 
)

Definition at line 132 of file test_int_math01.cpp.

◆ TEST_CASE() [6/8]

TEST_CASE ( "Int Math Test 10"  ,
""  [bits][arithmetic][math] 
)

Definition at line 147 of file test_int_math01.cpp.

◆ TEST_CASE() [7/8]

TEST_CASE ( "Int Math Test 20"  ,
""  [add][sub][overflow][arithmetic][math] 
)

Definition at line 184 of file test_int_math01.cpp.

◆ TEST_CASE() [8/8]

TEST_CASE ( "Int Math Test 21"  ,
""  [mul][overflow][arithmetic][math] 
)

Definition at line 263 of file test_int_math01.cpp.