MCPcopy Create free account
hub / github.com/PDAL/PDAL / TEST

Function TEST

test/unit/io/StacReaderTest.cpp:54–71  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

52using namespace pdal;
53
54TEST(StacReaderTest, local_data_test)
55{
56 Options options;
57
58 options.add("filename", Support::datapath("stac/autzen_trim.json"));
59 options.add("asset_names", "data");
60
61 StageFactory f;
62 Stage& reader = *f.createStage("readers.stac");
63 reader.setOptions(options);
64
65 PointTable table;
66 reader.prepare(table);
67 PointViewSet viewSet = reader.execute(table);
68 PointViewPtr view = *viewSet.begin();
69
70 EXPECT_EQ(view->size(), 110000u);
71}
72
73
74TEST(StacReaderTest, local_catalog_test)

Callers

nothing calls this directly

Calls 15

datapathFunction · 0.85
toJSONFunction · 0.85
findFunction · 0.85
createStageMethod · 0.80
setOptionsMethod · 0.80
parseFunction · 0.50
addMethod · 0.45
prepareMethod · 0.45
executeMethod · 0.45
beginMethod · 0.45
sizeMethod · 0.45
previewMethod · 0.45

Tested by

no test coverage detected