The Battle for Wesnoth  1.13.4+dev
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
test_formula_ai.cpp
Go to the documentation of this file.
1 /*
2  Copyright (C) 2008 - 2016 by Pauli Nieminen <[email protected]>
3  Part of the Battle for Wesnoth Project http://www.wesnoth.org/
4 
5  This program is free software; you can redistribute it and/or modify
6  it under the terms of the GNU General Public License as published by
7  the Free Software Foundation; either version 2 of the License, or
8  (at your option) any later version.
9  This program is distributed in the hope that it will be useful,
10  but WITHOUT ANY WARRANTY.
11 
12  See the COPYING file for more details.
13 */
14 
15 #define GETTEXT_DOMAIN "wesnoth-test"
16 
17 #include <boost/test/unit_test.hpp>
18 
19 
20 
22 
23 
24 BOOST_AUTO_TEST_SUITE( formula_ai )
25 
26 //BOOST_AUTO_TEST_CASE( test_move )
27 //{
28 // test_utils::play_scenario scenario("formula");
29 //
30 // scenario.add_formula_command("move(loc(11,3), loc(15,5))");
31 //
32 // scenario.play();
33 //
34 // // Remember that map_location() handles automatically transition to 1 based from 0 based locations
35 // BOOST_CHECK_EQUAL(scenario.get_unit_id(map_location(14, 4)), "side_1_leader");
36 //}
37 
38 
39 BOOST_AUTO_TEST_SUITE_END()
BOOST_AUTO_TEST_SUITE(test_map_location)