summaryrefslogtreecommitdiff
path: root/t/Net-Prizm.t
diff options
context:
space:
mode:
authorjeff <jeff>2008-03-14 04:38:48 +0000
committerjeff <jeff>2008-03-14 04:38:48 +0000
commit51ad08a8b780c50aa69f28cee3b1fd674c59c5de (patch)
tree91e0cdf8ec7f8409bb390e88206a8272a4050306 /t/Net-Prizm.t
Initial import of Net-Prizmrelease
Diffstat (limited to 't/Net-Prizm.t')
-rw-r--r--t/Net-Prizm.t19
1 files changed, 19 insertions, 0 deletions
diff --git a/t/Net-Prizm.t b/t/Net-Prizm.t
new file mode 100644
index 0000000..57c3f67
--- /dev/null
+++ b/t/Net-Prizm.t
@@ -0,0 +1,19 @@
+# Before `make install' is performed this script should be runnable with
+# `make test'. After `make install' it should work as `perl Net-Prizm.t'
+
+# Not very exciting testing
+
+use Test;
+BEGIN { plan tests => 3 };
+eval "use Net::Prizm";
+ok($@ eq '');
+
+no Net::Prizm;
+eval "use Net::Prizm qw(PrizmElement)";
+ok($@ eq '');
+
+no Net::Prizm;
+eval "use Net::Prizm qw(BadClass)";
+ok($@ ne '');
+
+