#include "vtkF3DDracoReader.h"

#include <vtkNew.h>

#include <iostream>

int TestF3DDracoReader(int vtkNotUsed(argc), char* argv[])
{
  std::string filename = std::string(argv[1]) + "data/suzanne.drc";
  vtkNew<vtkF3DDracoReader> reader;
  reader->SetFileName(filename);
  reader->Update();
  return reader->GetOutput()->GetNumberOfPoints() == 7958 ? EXIT_SUCCESS : EXIT_FAILURE;
}
