#include "vtkF3DAssimpImporter.h"

#include <vtkNew.h>
#include <vtkTestUtilities.h>

#include <iostream>

int TestF3DAssimpImporter(int vtkNotUsed(argc), char* argv[])
{
  std::string filename = std::string(argv[1]) + "data/animatedWorld.fbx";
  vtkNew<vtkF3DAssimpImporter> importer;
  importer->SetFileName(filename.c_str());
  importer->Update();
  importer->Print(std::cout);
  return importer->GetNumberOfAnimations() == 1 ? EXIT_SUCCESS : EXIT_FAILURE;
}
