* src/pmc/scalar.pmc:
[parrot.git] / t / pmc / bound_nci.t
blob4cae598b9fa9087d185ba43c54466c539aea9906
1 #! parrot
2 # Copyright (C) 2006-2007, The Perl Foundation.
3 # $Id$
5 =head1 NAME
7 t/pmc/bound_nci.t - test Bound_NCI PMC
9 =head1 SYNOPSIS
11     % prove t/pmc/bound_nci.t
13 =head1 DESCRIPTION
15 Tests the Bound_NCI PMC.
17 =cut
19 .sub main :main
20     # load this library
21     load_bytecode 'library/Test/More.pir'
23     # get the testing functions
24     .local pmc exports, curr_namespace, test_namespace
25     curr_namespace = get_namespace
26     test_namespace = get_namespace [ "Test::More" ]
27     exports = split " ", "plan diag ok is is_deeply like isa_ok"
29     test_namespace."export_to"(curr_namespace, exports)
31     plan(1)
33     new P0, .Bound_NCI
34     ok(1, 'Instantiated .Bound_NCI')
35 .end
37 # Local Variables:
38 #   mode: cperl
39 #   cperl-indent-level: 4
40 #   fill-column: 100
41 # End:
42 # vim: expandtab shiftwidth=4: