The Battle for Wesnoth  1.15.1+dev
test_formula_ai.cpp
Go to the documentation of this file.
1 /*
2  Copyright (C) 2008 - 2018 by Pauli Nieminen <paniemin@cc.hut.fi>
3  Part of the Battle for Wesnoth Project https://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 BOOST_AUTO_TEST_SUITE( formula_ai )
21 
22 //BOOST_AUTO_TEST_CASE( test_move )
23 //{
24 // test_utils::play_scenario scenario("formula");
25 //
26 // scenario.add_formula_command("move(loc(11,3), loc(15,5))");
27 //
28 // scenario.play();
29 //
30 // // Remember that map_location() handles automatically transition to 1 based from 0 based locations
31 // BOOST_CHECK_EQUAL(scenario.get_unit_id(map_location(14, 4)), "side_1_leader");
32 //}
33 
34 
35 BOOST_AUTO_TEST_SUITE_END()