2 # Copyright (C) 2006-2008, Parrot Foundation.
7 t/pmc/addrregistry.t - test AddrRegistry PMC
11 % prove t/pmc/addrregistry.t
15 Tests the AddrRegistry PMC.
20 .include 'test_more.pir'
24 $P0 = new ['AddrRegistry']
25 ok(1, 'Instantiated .AddrRegistry')
28 if $P0 goto isnotempty
31 ok($I0, 'vtable get_bool gives false when empty')
33 $P1 = new [ 'Integer' ]
36 unless $P0 goto isempty
39 ok($I0, 'vtable get_bool gives true when non empty')
46 # vim: expandtab shiftwidth=4 ft=pir: