Algorithm-Diff-XS

 view release on metacpan or  search on metacpan

Makefile.PL  view on Meta::CPAN

use strict;
use lib '.';
use inc::Module::Install;

name            'Algorithm-Diff-XS';
license         'perl';
all_from        'lib/Algorithm/Diff/XS.pm';

can_cc or die "This module requires a C compiler";

requires        'Algorithm::Diff' => '1.19';
sign; WriteAll;

t/base.t  view on Meta::CPAN

# Before `make install' is performed this script should be runnable with
# `make test'. After `make install' it should work as `perl base.t'
use strict;
$^W++;
use lib qw(blib lib);
use Algorithm::Diff::XS qw(diff LCS traverse_sequences traverse_balanced sdiff);
use Data::Dumper;
use Test;

BEGIN
{
	$|++;
	plan tests => 35;
	$SIG{__DIE__} = sub # breakpoint on die
	{

t/oo.t  view on Meta::CPAN

# Before `make install' is performed this script should be runnable with
# `make test'. After `make install' it should work as `perl oo.t'
use strict;
BEGIN { $^W++; }
use lib qw( blib lib );
use Algorithm::Diff::XS qw( compact_diff );
use Data::Dumper;
use Test qw( plan ok $ntest );

BEGIN
{
    $|++;
    plan( tests => 969 );
    $SIG{__DIE__} = sub # breakpoint on die
    {



( run in 0.267 second using v1.01-cache-2.11-cpan-87723dcf8b7 )