1#!/usr/bin/perl 2use strict; 3use warnings; 4use Test::More tests => 4; 5BEGIN { use_ok('return_const_value') } 6require_ok('return_const_value'); 7 8# adapted from ../python/return_const_value_runme.py 9 10is(return_const_value::Foo_ptr::getPtr()->getVal(), 17); 11 12is(return_const_value::Foo_ptr::getConstPtr()->getVal(), 17); 13 14