The Battle for Wesnoth  1.13.4+dev
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Macros | Functions
test_util.cpp File Reference
#include <boost/test/unit_test.hpp>
#include "util.hpp"
#include <boost/cstdint.hpp>
Include dependency graph for test_util.cpp:

Go to the source code of this file.

Macros

#define GETTEXT_DOMAIN   "wesnoth-test"
 

Functions

 BOOST_AUTO_TEST_CASE (test_lexical_cast)
 
 BOOST_AUTO_TEST_CASE (test_lexical_cast_default)
 
 BOOST_AUTO_TEST_CASE (test_bit_width)
 
 BOOST_AUTO_TEST_CASE (test_count_ones)
 
 BOOST_AUTO_TEST_CASE (test_count_leading_zeros)
 
 BOOST_AUTO_TEST_CASE (test_count_leading_ones)
 

Macro Definition Documentation

#define GETTEXT_DOMAIN   "wesnoth-test"

Definition at line 15 of file test_util.cpp.

Function Documentation

BOOST_AUTO_TEST_CASE ( test_lexical_cast  )

Definition at line 25 of file test_util.cpp.

References int(), and lexical_cast().

BOOST_AUTO_TEST_CASE ( test_lexical_cast_default  )

Definition at line 56 of file test_util.cpp.

References lexical_cast_default< int, const char * >().

BOOST_AUTO_TEST_CASE ( test_bit_width  )

Definition at line 79 of file test_util.cpp.

References bit_width().

BOOST_AUTO_TEST_CASE ( test_count_ones  )

Definition at line 92 of file test_util.cpp.

References count_ones().

BOOST_AUTO_TEST_CASE ( test_count_leading_zeros  )

Definition at line 107 of file test_util.cpp.

References count_leading_zeros().

BOOST_AUTO_TEST_CASE ( test_count_leading_ones  )

Definition at line 130 of file test_util.cpp.

References count_leading_ones().