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

Function TEST_P

plugins/tiledb/test/TileDBReaderTimeDimTest.cpp:112–132  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

110};
111
112TEST_P(TileDBReaderTimeDimTest, set_dims)
113{
114 tiledb::Context ctx;
115
116 tiledb::Array array(ctx, data_path, TILEDB_READ);
117 tiledb::Domain domain(array.schema().domain());
118 if (time_is_first())
119 {
120 EXPECT_EQ(domain.dimension(0).name(), "GpsTime");
121 EXPECT_EQ(domain.dimension(1).name(), "X");
122 EXPECT_EQ(domain.dimension(2).name(), "Y");
123 EXPECT_EQ(domain.dimension(3).name(), "Z");
124 }
125 else
126 {
127 EXPECT_EQ(domain.dimension(0).name(), "X");
128 EXPECT_EQ(domain.dimension(1).name(), "Y");
129 EXPECT_EQ(domain.dimension(2).name(), "Z");
130 EXPECT_EQ(domain.dimension(3).name(), "GpsTime");
131 }
132}
133
134TEST_P(TileDBReaderTimeDimTest, read_bbox4d)
135{

Callers

nothing calls this directly

Calls 10

DomainBoundsClass · 0.85
setOptionsMethod · 0.80
dimNameMethod · 0.80
nameMethod · 0.45
addMethod · 0.45
prepareMethod · 0.45
executeMethod · 0.45
numPointsMethod · 0.45
closeMethod · 0.45
findDimMethod · 0.45

Tested by

no test coverage detected