tabs -> spaces
This commit is contained in:
parent
4572a4fdd5
commit
1070b293ad
16 changed files with 685 additions and 684 deletions
|
@ -208,7 +208,8 @@ void render_to_file(Map const& m, const std::string output_filename)
|
||||||
filesystem::path output_filename_path =
|
filesystem::path output_filename_path =
|
||||||
filesystem::system_complete(filesystem::path(".")) / filesystem::path(output_filename);
|
filesystem::system_complete(filesystem::path(".")) / filesystem::path(output_filename);
|
||||||
|
|
||||||
BOOST_CHECK_MESSAGE(filesystem::exists(output_filename_path), "File '"+output_filename_path.string()+"' was created.");
|
BOOST_CHECK_MESSAGE(filesystem::exists(output_filename_path),
|
||||||
|
"File '"+output_filename_path.string()+"' was created.");
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
@ -219,12 +220,12 @@ void render_to_file(Map const& m, const std::string output_filename)
|
||||||
BOOST_AUTO_TEST_CASE(path_element_test_case_1)
|
BOOST_AUTO_TEST_CASE(path_element_test_case_1)
|
||||||
{
|
{
|
||||||
Map m(800,600);
|
Map m(800,600);
|
||||||
m.set_background(color_factory::from_string("white"));
|
m.set_background(color_factory::from_string("steelblue"));
|
||||||
|
|
||||||
prepare_map(m);
|
prepare_map(m);
|
||||||
|
|
||||||
m.zoom_to_box(box2d<double>(1405120.04127408, -247003.813399447,
|
//m.zoom_to_box(box2d<double>(1405120.04127408, -247003.813399447,
|
||||||
1706357.31328276, -25098.593149577));
|
//1706357.31328276, -25098.593149577));
|
||||||
|
m.zoom_all();
|
||||||
render_to_file(m, "path_element_test_case_1.svg");
|
render_to_file(m, "path_element_test_case_1.svg");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue