2 # Copyright (C) 2006-2010, Parrot Foundation.
7 t/pmc/sockaddr.t - test the Sockaddr PMC
11 % prove t/pmc/sockaddr.t
15 Test the Sockaddr PMC.
20 .include 'test_more.pir'
25 ok(1, 'Instantiated a Socket PMC')
27 $P1 = $P0."sockaddr"("localhost", 1234)
28 ok(1, 'socket.sockaddr method successful')
32 ok($I0, 'Sockaddr PMC created')
35 is($S0, 'Sockaddr', 'PMC has correct type')
39 is($S2, 'Sockaddr', 'PMC clone has correct type')
46 # vim: expandtab shiftwidth=4 ft=pir: