Realizaremos 11 pruebas de las que la primera es comprobar que el módulo se carga correctamente (línea 8).
$ cat -n 01MartelloAndTothBook.t
 1	# Before `make install' is performed this script should be runnable with
 2	# `make test'. After `make install' it should work as `perl Algorithm-Knap01DP.t'
 3	
 4	#########################
 5	use strict;
 6	use Test::More  tests => 11;
 7	
 8	BEGIN { use_ok('Algorithm::Knap01DP', qw/Knap01DP ReadKnap/); }
Casiano Rodríguez León
