MCPcopy Create free account
hub / github.com/Notgnoshi/generative / TEST

Function TEST

tests/wkt-reader-tests.cpp:14–22  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

12using generative::io::from_wkt;
13
14TEST(WktReaderTests, TestEmptyString)
15{
16 std::istringstream input_stream{""};
17 generative::io::WKTStreamReader geometries(input_stream);
18 auto iter = geometries.begin();
19 // You should not be able to get a valid iterator to this stream.
20 ASSERT_EQ(iter, geometries.end())
21 << "Expected to not get a valid GeometryIterator from an empty stream";
22}
23
24TEST(WktReaderTests, TestIteratorSanity)
25{

Callers

nothing calls this directly

Calls 8

from_wktFunction · 0.85
joinFunction · 0.85
cbeginMethod · 0.80
cendMethod · 0.80
readMethod · 0.80
beginMethod · 0.45
endMethod · 0.45
writeMethod · 0.45

Tested by

no test coverage detected