Permalink
Browse files

added pig latin test file

  • Loading branch information...
1 parent 48c4509 commit 116c952ba3cafc8227767f70767c58c16989939c @majuscule majuscule committed Jun 26, 2012
Showing with 19 additions and 0 deletions.
  1. +19 −0 t/PigLatin.pm
View
19 t/PigLatin.pm
@@ -0,0 +1,19 @@
+#!/usr/bin/env perl
+
+use strict;
+use warnings;
+use Test::More;
+use DDG::Test::Goodie;
+
+zci answer_type => 'capitalize';
+zci is_cached => 1;
+
+ddg_goodie_test(
+ [qw(
+ DDG::Goodie::Capitalize
+ )],
+ 'pig latin will this work?' => test_zci('Pig Latin: illway isthay orkway?'),
+ 'piglatin i love duckduckgo' => test_zci('Pig Latin: iway ovelay uckduckgoday'),
+);
+
+done_testing;

0 comments on commit 116c952

Please sign in to comment.