source: branches/UKMO/r6232_tracer_advection/NEMOGCM/EXTERNAL/fcm/t/Fcm/Keyword/Entry.t @ 9295

Last change on this file since 9295 was 9295, checked in by jcastill, 3 years ago

Remove svn keywords

File size: 559 bytes
Line 
1#!/usr/bin/perl
2
3use strict;
4use warnings;
5
6use Test::More qw{no_plan};
7
8main();
9
10sub main {
11    my $class = 'Fcm::Keyword::Entry';
12    use_ok($class);
13    test_normal($class);
14}
15
16################################################################################
17# Tests normal usage
18sub test_normal {
19    my ($class) = 'Fcm::Keyword::Entry';
20    my $entry = $class->new({key => 'key', value => 'value'});
21    isa_ok($entry, $class);
22    is($entry->get_key(), 'key', "normal: get_key()");
23    is($entry->get_value(), 'value', "normal: get_value()");
24}
25
26__END__
Note: See TracBrowser for help on using the repository browser.