1. Shlomi Fish
  2. Perl-XS-Guide

Source

Perl-XS-Guide / perl5 / ext-embed-internals / docbook / examples / 0007-iterate-over-array / XSTest / t / 04-integer.t

use strict;
use warnings;

use Test::More tests => 2;

use XSTest;

# TEST
is (XSTest::get_24(), 24, "Test get_24 once");

# TEST
is (XSTest::get_24(), 24, "Test get_24 again");