BEGIN {
    if ($ENV{PERL_CORE}) {
	chdir 't' if -d 't';
	@INC = ("../lib", "lib/compress");
    }
}

use lib qw(t t/compress);
use strict;
use warnings;

use Test::More ;

BEGIN {
    # use Test::NoWarnings, if available
    my $extra = 0 ;
    $extra = 1
        if eval { require Test::NoWarnings ;  import Test::NoWarnings; 1 };

    plan tests => 2548 + $extra;

};


#use Test::More skip_all => "not implemented yet";

use IO::Compress::Zstd   qw($ZstdError) ;
use IO::Uncompress::UnZstd qw($UnZstdError) ;

sub identify
{
    'IO::Compress::Zstd';
}

require "truncate.pl" ;
run();