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