add missing geometry type check

This commit is contained in:
artemp 2015-08-27 13:02:17 +02:00
parent 0ea5ccc7bc
commit 1080d92a79

View file

@ -612,6 +612,7 @@ TEST_CASE("csv") {
require_attributes(all_features(ds)->next(), { require_attributes(all_features(ds)->next(), {
attr{"x", 0}, attr{"y", 0}, attr{"name", ustring("data_name")} }); attr{"x", 0}, attr{"y", 0}, attr{"name", ustring("data_name")} });
REQUIRE(count_features(all_features(ds)) == r.second); REQUIRE(count_features(all_features(ds)) == r.second);
CHECK(ds->get_geometry_type() == mapnik::datasource_geometry_t::Point);
} }
} // END SECTION } // END SECTION