mhunsinger
8474384ca8
Changed response to strings, was hanging on large Fibonacci.
2016-06-21 05:52:02 +00:00
mhunsinger
b1874b8f23
Returning Yes/No, and minor (sub)title formatting.
2016-06-14 04:57:47 +00:00
mhunsinger
4155fcab61
Refactored tests and minor parts of Perl script.
...
Removed stripping whitespace around the query, as remainder_lc
already does this.
Refactored build_test to include testing for build_pred_test.
2016-06-14 04:51:34 +00:00
mhunsinger
71b855660c
Added IA for "is n a Fibonacci number?".
2016-06-10 07:00:31 +00:00
mhunsinger
1172e7b7b5
Updated Fibonacci to use Perl Math::NumSeq::Fibonacci package.
...
Changed the handler from "request" to "request_lc".
Fixed a problem where the regexp didn't handle "nd" ordinal suffix.
Created new test to ensure it would handle both of these cases.
2016-06-09 20:01:15 +00:00
Ben Moon
c4879378b9
Merge pull request #3062 from duckduckgo/mintsoft/fibonacci-template
...
Fibonacci: Converting to Text Template
2016-05-18 11:56:56 +01:00
Ben Moon
83b9bbd6b7
Fix newline at end of file
2016-05-16 14:19:39 +01:00
Ben Moon
5f85cf4121
Update Goodies to use Test::Deep
...
* Ensure Test::Deep is imported.
* Replace '-ANY-' with ignore()
* Replace regexes with re(...)
2016-05-16 14:07:57 +01:00
Rob Emery
8cbcdf66ed
Fibonacci: Refactoring tests
2016-05-15 21:59:15 +01:00
Rob Emery
24b58cddd3
Fibonacci: Extending test coverage around question formats
2016-05-15 17:57:14 +01:00
Rob Emery
8d52252fe0
Fibonacci: Converting to Text Template
2016-05-15 17:54:04 +01:00
Matt Miller
191b2779cc
Fibonacci: use structured answer.
2014-11-15 21:33:00 +02:00
Matt Miller
da70710f7d
EOL: remove trailing whitespace.
2014-10-28 20:36:15 +02:00
Dylan Lloyd
56ca0258a0
test files are not packages
2013-05-25 19:29:44 -04:00