DuckDuckHack Five
fac0179303
WorkdaysBetween: Update tests.
2014-02-14 15:24:30 -05:00
Jag Talon
e70adbda45
Merge pull request #321 from kablamo/example-query-tests
...
Added tests for example queries which are not currently tested.
2014-02-14 15:19:48 -05:00
Jag Talon
39bf2fd54a
Merge pull request #297 from duckduckgo/jag/release/workdays
...
Workdays: Prepared the IA for release.
2014-02-14 08:45:03 -05:00
Jag Talon
aac9971b78
WorkdaysBetween: Fix tests.
2014-02-13 14:04:09 -05:00
Jag Talon
92c23a7bac
Merge pull request #308 from mattr555/master
...
MakeMeASandwich- xkcd easter egg
2014-02-13 11:54:03 -05:00
Matthew Ramina
7f4a6fef2a
MakeMeASandwich: standardized source link, grammar
2014-02-12 17:36:33 -05:00
Eric Johnson
9c29b27338
Added tests for example queries which are not currently tested.
...
Conflicts:
t/TimezoneConverter.t
2014-02-10 21:36:14 +00:00
Rob Emery
695bf979b9
Merge pull request #317 from bduggan/master
...
prevent error for invalid output timezone
2014-02-09 17:02:37 +00:00
Brian Duggan
b708b065a9
added "12 in binary" test to Binary.pm and TimeZoneConverter.pm
2014-02-09 11:06:00 -05:00
Rob Emery
605e6158cd
Merge pull request #316 from mwmiller/passphrase_fixes
...
Passphrase: bring up to current standards.
2014-02-09 11:39:20 +00:00
Matthew Ramina
e9be8668f0
MakeMeASandwich: moved link to second line, lowercased, extraneous is_cached
2014-02-08 18:09:56 -05:00
Michael Smith
bb12adeb1e
Merge pull request #303 from elohmrow/conversions
...
Adding conversions Goodie
2014-02-08 08:46:30 -07:00
Eric Johnson
90a83206ad
VimCheatSheet: Fix test to match recent changes to source data.
2014-02-08 10:59:54 +00:00
elohmrow
95cf8f5863
handle plural units, general cleanup
2014-02-08 02:12:43 +00:00
Matt Miller
43aaef92cf
Passphrase: bring up to current standards.
...
Intended to fix issue #313 and also fix #314 .
- Add ability to use queries like "pass phrase 3 words"
- Add comments describing how it works.
- Add (arbitrarily chosen) limit of 10 words maximum.
- Constrain the query format more tightly
- Add more tests
This turned into more of a rewrite than I intended.
In the previous version, it was more forgiving about what trailed the
number of words requested... but it was assuredly requiring something.
I've decided to be explicit on wanting 'word(s)' at the end.
Previously it required a minimum of 1 word requested, but didn't have a
maximum. I chose to make the max 10, as it keeps the output fairly
tidy and seems like a reasonable maximum someone might actually use
in practice.
2014-02-08 09:34:06 +08:00
Sean Hellebusch
2a65003a69
Added trigger words and test cases to Loan.pm/t
2014-02-07 00:19:12 -06:00
elohmrow
6bfad61a04
[sig fig digits in answers], [no math on negative nums], [handle plural units], [handle multi-word units], [handle multiple factors]
2014-02-06 03:58:32 +00:00
Jag Talon
813981a3e4
WorkdaysBetween: Use a module to compute the dates instead.
2014-02-04 13:01:03 -05:00
Jag Talon
b17f8a39eb
WorkdaysBetween: Revert to the old way of computing the dates.
2014-02-04 11:20:14 -05:00
Matthew Ramina
61c2dfe7b1
MakeMeASandwich: fix case with 0
2014-02-02 11:52:42 -05:00
Matthew Ramina
ad1af09aeb
Added MakeMeASandwich, an xkcd easter egg
2014-01-31 19:26:50 -05:00
elohmrow
293f503fa1
re-factored conversions
2014-01-31 19:24:20 +00:00
elohmrow
f092bf7aab
re-factored
2014-01-31 19:14:55 +00:00
elohmrow
fea97fdb74
errors now return empty string per guidelines
2014-01-30 20:36:01 +00:00
Jag Talon
a36b601fb9
Merge pull request #305 from duckduckgo/jag/release/suicide
...
HelpLine Release
2014-01-30 12:32:26 -08:00
elohmrow
3cf9bc5c0b
adding conversions Goodie
2014-01-30 03:52:12 +00:00
Jag Talon
7be1572e8a
HelpLine: Update tests.
2014-01-29 15:27:28 -05:00
Rob Emery
298149e72f
Merge pull request #236 from TopHattedCoder/leap_year
...
New leap year instant-answer
2014-01-29 11:28:48 -08:00
Jag Talon
321acfb1b9
Merge pull request #288 from kablamo/vim-cheat
...
Vim Cheat Sheet
2014-01-29 09:24:06 -08:00
Eric Johnson
5647caf648
rm Carp::Always
2014-01-29 11:00:59 +00:00
Jag Talon
01d80e4315
WorkdaysBetween: Add tests for shortened years, too.
2014-01-29 00:01:22 -05:00
Jag Talon
6fb1009da8
Merge pull request #294 from duckduckgo/jag/release/frequency-spectrum
...
Release the FrequencySpectrum Goodie
2014-01-28 20:42:28 -08:00
Jag Talon
11073bf32d
WorkdaysBetween: Add the %m-%d-%y format.
2014-01-28 09:14:32 -05:00
Jag Talon
a59abe766a
WorkdaysBetween: Updated the output to change depending on the number of weekdays.
...
It would say "There is one workday ..." instead of "There is one workdays ...".
2014-01-27 15:52:00 -05:00
Tom Bebbington
2575f139fe
Update tests and fix aggressive regex
2014-01-25 23:16:16 +00:00
Jag Talon
19756daa02
WorkdaysBetween: Clearer way of computing the business days.
...
I also added a bunch of comprehensive tests.
2014-01-25 12:42:03 -05:00
Jag Talon
2f2264b2ec
WorkdaysBetween: Fix issue when starting on a weekend.
...
The result was off by one when it started on either Saturday on Sunday. Another one that's worth noting is that $start->_wday actually has Sunday == 0.
2014-01-24 15:26:11 -05:00
Jag Talon
a1276aab68
Helpline: Remove Canada from the tests.
2014-01-24 00:40:17 -05:00
Jag Talon
545e2c44c0
Helpline: Fix tests.
2014-01-24 00:21:43 -05:00
Eric Johnson
b521ecfb0d
Added tests for all the triggers
2014-01-23 20:18:30 +00:00
Jag Talon
c4b177cf9e
FrequencySpectrum: Change tests.
2014-01-23 14:35:32 -05:00
Jag Talon
2bd38a6a9b
FrequencySpectrum: Squelch print statements and add a test.
2014-01-23 13:35:48 -05:00
Jag Talon
1c80c57108
t/FrequencySpectrum.t: Fix tests.
2014-01-22 13:12:02 -05:00
loganom
9fd47fc787
t/GUID: update size attribute
2014-01-22 10:36:46 -06:00
loganom
925d3eef4f
GUID.t: update tests, add HTML check
2014-01-21 18:37:13 -06:00
Jag Talon
1a11a81a21
Merge pull request #262 from UnGround/master
...
Mac Address generator goodie
2014-01-21 16:30:58 -08:00
Jag Talon
b7725647be
Merge pull request #281 from loganom/master
...
Dice.pm additional support
2014-01-21 16:07:24 -08:00
JGindi
bfac40127c
added new triggers, updated regular expression, and am using sum instead of reduce
2014-01-21 00:39:00 -05:00
JGindi
6c5ba2fe22
Added SumofNaturalNumbers Goodie
2014-01-20 17:32:51 -05:00
Eric Johnson
b2b2c56cda
Created DDG::Goodie::VimCheatSheet +tests
2014-01-18 12:39:30 +00:00