New URL for NEMO forge!   http://forge.nemo-ocean.eu

Since March 2022 along with NEMO 4.2 release, the code development moved to a self-hosted GitLab.
This present forge is now archived and remained online for history.
CLI.pm in branches/r6232_hadgem3_cplfld/NEMOGCM/EXTERNAL/fcm/t/Fcm/Interactive/InputGetter – NEMO

source: branches/r6232_hadgem3_cplfld/NEMOGCM/EXTERNAL/fcm/t/Fcm/Interactive/InputGetter/CLI.pm @ 7462

Last change on this file since 7462 was 7462, checked in by jcastill, 7 years ago

Remove svn keys

File size: 506 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::Interactive::InputGetter::CLI';
12    use_ok($class);
13    test_constructor($class);
14}
15
16################################################################################
17# Tests usage of constructor
18sub test_constructor {
19    my ($class) = @_;
20    my $prefix = 'constructor';
21    my $input_getter = $class->new({});
22    isa_ok($input_getter, $class);
23}
24
25# TODO: tests the invoke method
26
27__END__
Note: See TracBrowser for help on using the repository browser.