PageRenderTime 4ms CodeModel.GetById 1ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/trunk/Examples/test-suite/perl5/enum_template_runme.pl

#
Perl | 12 lines | 7 code | 3 blank | 2 comment | 0 complexity | 4a9c4d1b5033a6ad7860a34978d80546 MD5 | raw file
 1#!/usr/bin/perl
 2use strict;
 3use warnings;
 4use Test::More tests => 4;
 5BEGIN { use_ok('enum_template') }
 6require_ok('enum_template');
 7
 8# adapted from ../python/enum_template_runme.py
 9
10is(enum_template::MakeETest(), 1);
11
12is(enum_template::TakeETest(0), undef);