File: 002_functions.t

package info (click to toggle)
libhtml-calendarmonthsimple-perl 1.27-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 156 kB
  • sloc: perl: 673; makefile: 2
file content (12 lines) | stat: -rw-r--r-- 315 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
# -*- perl -*-

# t/001_load.t - check module loading and create testing directory

use Test::More tests => 3;

BEGIN { use_ok( 'HTML::CalendarMonthSimple' ); }

my $cal=HTML::CalendarMonthSimple->new(year=>2010, month=>7);
isa_ok ($cal, 'HTML::CalendarMonthSimple');

is($cal->Days_in_Month, 31, 'Days_in_Month');