summaryrefslogtreecommitdiff
path: root/Examples/test-suite/perl5/preproc_runme.pl
blob: 89e25f89682657662f2d52922bcaed41863bdf92 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/usr/bin/perl
use strict;
use warnings;
use Test::More tests => 6;
BEGIN { use_ok('preproc') }
require_ok('preproc');

# adapted from ../python/preproc_runme.py

is($preproc::endif, 1);
is($preproc::define, 1);
is($preproc::defined, 1);
is($preproc::one * 2, $preproc::two);