File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 44#include < osmium/io/writer.hpp>
55#include < osmium/io/xml_output.hpp>
66
7- TEST_CASE (" Output iterator should be copy constructable" ) {
7+ TEST_CASE (" Output iterator should be copy constructable and incrementable " ) {
88 const osmium::io::Header header{};
99 osmium::io::Writer writer{" test.osm" , header, osmium::io::overwrite::allow};
1010
1111 osmium::io::OutputIterator<osmium::io::Writer> out1{writer};
1212 osmium::io::OutputIterator<osmium::io::Writer> out2{out1};
13+
14+ ++out2;
1315}
1416
1517TEST_CASE (" Output iterator should be copy assignable" ) {
@@ -23,11 +25,3 @@ TEST_CASE("Output iterator should be copy assignable") {
2325 out2 = out1;
2426}
2527
26- TEST_CASE (" Output iterator should be incrementable" ) {
27- const osmium::io::Header header{};
28- osmium::io::Writer writer{" test.osm" , header, osmium::io::overwrite::allow};
29- osmium::io::OutputIterator<osmium::io::Writer> out{writer};
30-
31- ++out;
32- }
33-
You can’t perform that action at this time.
0 commit comments