The Battle for Wesnoth  1.15.0+dev
Macros | Functions
test_formula_function.cpp File Reference
#include <boost/test/unit_test.hpp>
#include "formula/function.hpp"
#include "log.hpp"
#include <cmath>
Include dependency graph for test_formula_function.cpp:

Go to the source code of this file.

Macros

#define GETTEXT_DOMAIN   "wesnoth-test"
 

Functions

 BOOST_AUTO_TEST_CASE (test_formula_function_substring)
 
 BOOST_AUTO_TEST_CASE (test_formula_function_length)
 
 BOOST_AUTO_TEST_CASE (test_formula_function_concatenate)
 
 BOOST_AUTO_TEST_CASE (test_formula_function_math)
 
 BOOST_AUTO_TEST_CASE (test_formula_function_trig)
 

Macro Definition Documentation

◆ GETTEXT_DOMAIN

#define GETTEXT_DOMAIN   "wesnoth-test"

Definition at line 15 of file test_formula_function.cpp.

Function Documentation

◆ BOOST_AUTO_TEST_CASE() [1/5]

BOOST_AUTO_TEST_CASE ( test_formula_function_substring  )

Definition at line 28 of file test_formula_function.cpp.

References lg::debug(), lg::err(), and lg::set_log_domain_severity().

◆ BOOST_AUTO_TEST_CASE() [2/5]

BOOST_AUTO_TEST_CASE ( test_formula_function_length  )

Definition at line 112 of file test_formula_function.cpp.

◆ BOOST_AUTO_TEST_CASE() [3/5]

BOOST_AUTO_TEST_CASE ( test_formula_function_concatenate  )

Definition at line 123 of file test_formula_function.cpp.

◆ BOOST_AUTO_TEST_CASE() [4/5]

BOOST_AUTO_TEST_CASE ( test_formula_function_math  )

Definition at line 146 of file test_formula_function.cpp.

◆ BOOST_AUTO_TEST_CASE() [5/5]

BOOST_AUTO_TEST_CASE ( test_formula_function_trig  )

Definition at line 169 of file test_formula_function.cpp.

References wfl::map_formula_callable::add().