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
Zach Thompson
73d8f72fc0
Remove id/name from Perl modules and tests
2016-03-18 11:49:33 -06:00
Mailkov
cd7a2ec953
fix tests on FrequencySpectrum.t
2016-01-14 14:41:17 +00:00
David Wilkins
c32f316bb5
Merge remote-tracking branch 'upstream/master' into frequency_spectrum_plot
2014-10-25 16:41:01 +08:00
Matt Miller
68fc7c8dec
Set explicit caching everywhere.
...
This explicity sets the caching behavior for all goodies. Goodies which
did not have caching behavior set in their package have had it added.
Similarly for the tests.
This resulted in a number of changes for caching behavior, mostly
moving towards more frequent caching.
I identified three cases where goodies should not be cached. They are when
the result depends upon:
- some random element,
- the time of day or year (as with relative dates), or
- the location of the requesting user
In all other cases, I presumed that the goodies were sufficiently
deterministic in their output to warrant caching.
2014-09-27 10:35:17 -04:00
David Wilkins
441f8230c3
Suppress results for audible frequencies
2014-08-09 19:10:42 +08:00
David Wilkins
2062152832
Fix gaps in spectrum
2014-07-23 17:23:10 +08:00
David Wilkins
2a52203c03
Add infrared
2014-07-22 12:01:19 +08:00
David Wilkins
a8cd1087b2
Misc small bug fixes
2014-07-22 09:08:45 +08:00
David Wilkins
c25d5ab829
Add wavelength support for visible light
2014-07-21 12:55:40 +08:00
David Wilkins
752eb22aa0
Add tests for nonsense frequencies
2014-07-18 15:06:17 +08:00
David Wilkins
70f27d9054
Fix error in handling large numbers with commas
2014-07-13 15:22:50 +08:00
David Wilkins
6e51f3b164
Tidy normalisation of units, add regex trigger
2014-07-13 14:50:03 +08:00
David Wilkins
9002611a8e
Add visual to FrequencySpectrum Goodie
2014-07-06 16:35:59 +08: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
Daniel
d5e0f48ce4
Replace magic numbers with constants, disallow consecutive dots in queries, and give radio spectrum examples.
2013-12-02 16:15:43 -05:00
Daniel
4de4b272ea
Initial version of Frequency Spectrum DDG goodie.
2013-11-15 07:21:55 -05:00