The Battle for Wesnoth  1.19.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 16 of file test_formula_function.cpp.

Function Documentation

◆ BOOST_AUTO_TEST_CASE() [1/5]

BOOST_AUTO_TEST_CASE ( test_formula_function_concatenate  )

Definition at line 125 of file test_formula_function.cpp.

◆ BOOST_AUTO_TEST_CASE() [2/5]

BOOST_AUTO_TEST_CASE ( test_formula_function_length  )

Definition at line 114 of file test_formula_function.cpp.

◆ BOOST_AUTO_TEST_CASE() [3/5]

BOOST_AUTO_TEST_CASE ( test_formula_function_math  )

Definition at line 148 of file test_formula_function.cpp.

◆ BOOST_AUTO_TEST_CASE() [4/5]

BOOST_AUTO_TEST_CASE ( test_formula_function_substring  )

◆ BOOST_AUTO_TEST_CASE() [5/5]

BOOST_AUTO_TEST_CASE ( test_formula_function_trig  )

Definition at line 171 of file test_formula_function.cpp.

References wfl::map_formula_callable::add().