File: 022-can-ntheory.t

package info (click to toggle)
libmath-prime-util-perl 0.73-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 2,796 kB
  • sloc: perl: 24,676; ansic: 11,471; makefile: 26; python: 24
file content (8 lines) | stat: -rw-r--r-- 146 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
#!/usr/bin/env perl
use strict;
use warnings;
use ntheory qw/is_prime/;

use Test::More  tests => 1;

ok(is_prime(7), "ntheory can do is_prime");