<commit_before><commit_msg>ENH: Add test for writing<commit_after>#include "vtkXMLUnstructuredGridReader.h"
#include "vtkXdmfDataSetWriter.h"
#include "vtkUnstructuredGrid.h"

int main(int argc, char* argv[])
{
  if ( argc != 3 )
    {
    cout << "Usage: " << argv[0] << " <infile> <outfile>" << endl;
    return 1;
    }
  
  vtkXMLUnstructuredGridReader* reader = vtkXMLUnstructuredGridReader::New();
  vtkXdmfDataSetWriter* writer = vtkXdmfDataSetWriter::New();

  writer->SetInput(reader->GetOutput());

  
  reader->SetFileName(argv[1]);
  writer->SetFileName(argv[2]);

  writer->Write();

  reader->Delete();
  writer->Delete();
  
  return 0;
}
{'fraction_non_alphanumeric': 0.1638591117917305, 'fraction_numerical': 0.009188361408882083, 'mean_word_length': 4.6869565217391305, 'pattern_counts': {'":': 0, '<': 13, '<?xml version=': 0, '>': 12, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5913519', 'n_tokens_mistral': 240, 'n_tokens_neox': 231, 'n_words': 40}