--- t/10-xs.t 2008/08/18 15:35:18 14 +++ t/10-xs.t 2008/08/18 17:45:56 17 @@ -5,7 +5,7 @@ use blib; -use Test::More tests => 14; +use Test::More tests => 18; use Test::Exception; use Data::Dump qw/dump/; @@ -41,4 +41,9 @@ ok( tcidbput( $idb, 1, 'foobar' ), 'tcidbput' ); +ok( tcidbout( $idb, 1, ), 'tcidbout' ); + +ok( tcidbput( $idb, 42, 'some data' ), 'tcidbput again' ); +is( tcidbget( $idb, 42 ), 'some data', 'tcidbget' ); +ok( ! tcidbget( $idb, 1 ), 'tcidbget non-existing' ); diag tcidberrmsg( tcidbecode( $idb ) );