#include "whiteboard/action.hpp"
#include "whiteboard/side_actions.hpp"
#include "whiteboard/typedefs.hpp"
#include "whiteboard/visitor.hpp"
#include <boost/test/unit_test.hpp>
Go to the source code of this file.
Classes | |
struct | dummy_action |
Macros | |
#define | GETTEXT_DOMAIN "wesnoth-test" |
Functions | |
BOOST_AUTO_TEST_CASE (test_insertion) | |
BOOST_AUTO_TEST_CASE (test_removal) | |
#define GETTEXT_DOMAIN "wesnoth-test" |
Definition at line 16 of file test_whiteboard_side_actions.cpp.
BOOST_AUTO_TEST_CASE | ( | test_insertion | ) |
Definition at line 47 of file test_whiteboard_side_actions.cpp.
References wb::side_actions_container::begin(), wb::side_actions_container::insert(), wb::side_actions_container::num_turns(), wb::side_actions_container::queue(), wb::side_actions_container::turn_begin(), wb::side_actions_container::turn_end(), and wb::side_actions_container::turn_size().
BOOST_AUTO_TEST_CASE | ( | test_removal | ) |
Definition at line 101 of file test_whiteboard_side_actions.cpp.
References wb::side_actions_container::begin(), wb::side_actions_container::erase(), i, wb::side_actions_container::num_turns(), and wb::side_actions_container::queue().