Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
kylemann16 committed Jan 14, 2021
1 parent a81527c commit c03142c
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions plugins/draco/test/DracoWriterTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -150,20 +150,16 @@ namespace pdal
LasReader reader;
reader.setOptions(readerOptions);

PointTable table1;
reader.prepare(table1);
reader.execute(table1);

//setup writer
PointTable table;
Options writerOptions;
writerOptions.add("filename", outFile);
DracoWriter writer;
writer.setOptions(writerOptions);
writer.setInput(reader);

PointTable table2;
writer.prepare(table2);
writer.execute(table2);
writer.prepare(table);
writer.execute(table);

compareFiles(inFile, outFile);
}
Expand Down

0 comments on commit c03142c

Please sign in to comment.