--- t/10-xs.t 2008/08/17 22:30:01 4 +++ t/10-xs.t 2008/08/17 22:35:45 5 @@ -5,7 +5,7 @@ use blib; -use Test::More tests => 6; +use Test::More tests => 8; use Test::Exception; use Data::Dump qw/dump/; @@ -21,4 +21,8 @@ ok( ! Search::TokyoDystopia::tcidbdel( $db ), 'tcidbdel' ); +ok( $db = Search::TokyoDystopia::tcidbnew, 'tcidbnew again' ); + is( Search::TokyoDystopia::tcidbecode( $db ), 0, 'tcidbecode' ); + +is( Search::TokyoDystopia::tcidbtune( $db, 0, 0, 0, 0 ), 1, 'tcidbtune' );