Commit Graph

13 Commits (master)

Author SHA1 Message Date
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
Ben Moon 1203c78e57 Fix triggering with non-numbers
Would allow non-numbers to be present if numbers were already in the
query.
2016-02-03 18:10:38 +00:00
Ben Moon 6e55266f87 Remove 'sf' trigger
Reduce over-triggering - 'sf' seems to be used for other things.
2016-02-03 18:00:59 +00:00
Ben Moon 8008d40d74 Update formatted input
From `Significant figures of...` to `Number of Significant Figures
in...`.
2016-01-18 19:06:00 +00:00
Ben Moon 0a5d01e73e Improve triggers
Vastly improves the triggering!

I had a look at searches related to significant figures and none of the
common searches involved `sd` or `sig digs`, so I got rid of those
triggers.

A lot of the searches were along the lines of "What are the significant
figures of X?" - so I've updated the handler to allow for these types of
queries.
2016-01-18 19:05:58 +00:00
Ben Moon 6511199068 Improve general handling of significant figures
Fixes an issue with input of just '0', the Goodie was not triggering.
2016-01-18 19:05:07 +00:00
Ben Moon b886023057 Add support for more number systems
Uses the `NumberStyler` GoodieRole to improve number support.
2016-01-18 19:05:06 +00:00
Ben Moon 85ec54e8be Update answer to use text template 2016-01-18 19:05:06 +00: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
Michael Smith fd85535679 make tests from old queries.txts 2012-05-29 16:40:59 -06:00
Dylan Lloyd d2bde79efc Added tests for Base64, Dice, EmToPx, FlipText, GoldenRatio, Guid, Periemeter, Roman, SigFigs, TitleCase, Unicode 2012-04-15 19:17:12 -04:00