swig/Examples/test-suite/perl5/enum_template_runme.pl
Karl Wette 7cd9063b52 Remove execute permissions from various non-executable files
- source files and Makefiles need never be executable
- scripts are run directly by their interpreters in the
  test suites, so also do not need to be executable
2014-05-02 20:06:11 +02:00

12 lines
258 B
Perl

#!/usr/bin/perl
use strict;
use warnings;
use Test::More tests => 4;
BEGIN { use_ok('enum_template') }
require_ok('enum_template');
# adapted from ../python/enum_template_runme.py
is(enum_template::MakeETest(), 1);
is(enum_template::TakeETest(0), undef);