5 |
|
|
6 |
use blib; |
use blib; |
7 |
|
|
8 |
use Test::More tests => 15; |
use Test::More tests => 18; |
9 |
use Test::Exception; |
use Test::Exception; |
10 |
use Data::Dump qw/dump/; |
use Data::Dump qw/dump/; |
11 |
|
|
43 |
|
|
44 |
ok( tcidbout( $idb, 1, ), 'tcidbout' ); |
ok( tcidbout( $idb, 1, ), 'tcidbout' ); |
45 |
|
|
46 |
|
ok( tcidbput( $idb, 42, 'some data' ), 'tcidbput again' ); |
47 |
|
is( tcidbget( $idb, 42 ), 'some data', 'tcidbget' ); |
48 |
|
ok( ! tcidbget( $idb, 1 ), 'tcidbget non-existing' ); |
49 |
diag tcidberrmsg( tcidbecode( $idb ) ); |
diag tcidberrmsg( tcidbecode( $idb ) ); |