File: constants.t

package info (click to toggle)
libglib-object-introspection-perl 0.051-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 584 kB
  • sloc: ansic: 3,543; perl: 2,809; makefile: 9; sh: 3
file content (17 lines) | stat: -rw-r--r-- 353 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/usr/bin/env perl

BEGIN { require './t/inc/setup.pl' };

use strict;
use warnings;
use utf8;

plan tests => 6;

is (GI::CONSTANT_NUMBER, 42);
is (GI::CONSTANT_UTF8, 'const ♥ utf8');

is (Regress::INT_CONSTANT, 4422);
delta_ok (Regress::DOUBLE_CONSTANT, 44.22);
is (Regress::STRING_CONSTANT, "Some String");
is (Regress::Mixed_Case_Constant, 4423);