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

Function TEST

plugins/matlab/test/MatlabReaderTest.cpp:45–61  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

43using namespace pdal;
44
45TEST(MatlabReaderTest, t1)
46{
47 MatlabReader t;
48 Options mlabOptions;
49 mlabOptions.add("filename", Support::datapath("matlab/autzen.mat"));
50 t.setOptions(mlabOptions);
51
52 PointTable tt;
53 t.prepare(tt);
54 PointViewSet ts = t.execute(tt);
55 EXPECT_EQ(ts.size(), 1U);
56 PointViewPtr tv = *ts.begin();
57 EXPECT_EQ(tv->size(), 106U);
58
59 SpatialReference ref = tv->spatialReference();
60 ASSERT_FALSE(ref.empty());
61}
62

Callers

nothing calls this directly

Calls 8

datapathFunction · 0.85
setOptionsMethod · 0.80
addMethod · 0.45
prepareMethod · 0.45
executeMethod · 0.45
sizeMethod · 0.45
beginMethod · 0.45
emptyMethod · 0.45

Tested by

no test coverage detected