summaryrefslogtreecommitdiff
path: root/t/Net-Prizm.t
diff options
context:
space:
mode:
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 '');
+
+