- 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
12 lines
258 B
Perl
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);
|