3 |
use warnings; |
use warnings; |
4 |
use strict; |
use strict; |
5 |
|
|
6 |
use Test::More tests => 64; |
use Test::More tests => 66; |
7 |
|
|
8 |
use lib 'lib'; |
use lib 'lib'; |
9 |
|
|
98 |
cmp_ok( $o->lindex( $list, 0 ), 'eq', 'l1', 'lindex' ); |
cmp_ok( $o->lindex( $list, 0 ), 'eq', 'l1', 'lindex' ); |
99 |
cmp_ok( $o->lindex( $list, 1 ), 'eq', 'r1', 'lindex' ); |
cmp_ok( $o->lindex( $list, 1 ), 'eq', 'r1', 'lindex' ); |
100 |
|
|
101 |
|
ok( $o->lset( $list, 0, 'foo' ), 'lset' ); |
102 |
|
cmp_ok( $o->lindex( $list, 0 ), 'eq', 'foo', 'verified' ); |
103 |
|
|
104 |
ok( $o->quit, 'quit' ); |
ok( $o->quit, 'quit' ); |