summaryrefslogtreecommitdiffstats
path: root/t/003-array-wordlist.t
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2009-11-17 00:29:08 -0600
committerJesse Luehrs <doy@tozt.net>2009-11-17 00:29:08 -0600
commitbeb5c4cccf9eff7885cbc0253f17a243cce54a4f (patch)
treee380ed9e7c3d7294b0d67bab15aba4980f42f1e8 /t/003-array-wordlist.t
parent5c83076fed12c431a9345ba9feb41047966428c4 (diff)
downloadgames-word-beb5c4cccf9eff7885cbc0253f17a243cce54a4f.tar.gz
games-word-beb5c4cccf9eff7885cbc0253f17a243cce54a4f.zip
clean up a bunch of tests
Diffstat (limited to 't/003-array-wordlist.t')
-rw-r--r--t/003-array-wordlist.t16
1 files changed, 0 insertions, 16 deletions
diff --git a/t/003-array-wordlist.t b/t/003-array-wordlist.t
deleted file mode 100644
index b752080..0000000
--- a/t/003-array-wordlist.t
+++ /dev/null
@@ -1,16 +0,0 @@
-#!/usr/bin/env perl
-use strict;
-use warnings;
-use Test::More tests => 4;
-use Test::Exception;
-use Games::Word::Wordlist;
-
-my @words = qw/foo bar baz/;
-my $wl;
-lives_ok { $wl = Games::Word::Wordlist->new(\@words) }
- "creating a wordlist from an array succeeds";
-is($wl->words, 3, "created the correct number of words in the word list");
-$wl->add_words(['zab', 'rab', 'oof', 'foo']);
-is($wl->words, 6, "adding words results in the correct number of words");
-$wl->remove_words(qw/rab foo quux/);
-is($wl->words, 4, "deleting words results in the correct number of words");