#!/usr/bin/env perl
require 5.008;
use warnings;
use strict;

unshift(@INC, '.');
require qpdf_test_helpers;

chdir("qpdf") or die "chdir testdir failed: $!\n";

require TestDriver;

cleanup();

my $td = new TestDriver('numbers-and-strings');

my $n_tests = 3;

foreach (my $i = 1; $i <= 3; ++$i)
{
    $td->runtest("numbers and strings",
                 {$td->COMMAND => "test_driver 5 numeric-and-string-$i.pdf"},
                 {$td->FILE => "numeric-and-string-$i.out",
                      $td->EXIT_STATUS => 0},
                 $td->NORMALIZE_NEWLINES);
}

cleanup();
$td->report($n_tests);
