Peter Camilleri
|
fa8c00fe4c
|
More tests!!!"
|
2016-04-09 11:01:21 -04:00 |
|
Peter Camilleri
|
117363f233
|
Updating string cloning and testing.
|
2016-04-09 10:58:57 -04:00 |
|
Peter Camilleri
|
590bdd348d
|
Updated tests and gem specs.
|
2016-02-18 12:23:04 -05:00 |
|
Peter Camilleri
|
fa8f0efd9e
|
Updated numeric to_foorth_c to use pack.
|
2016-01-14 16:09:40 -05:00 |
|
Peter Camilleri
|
91da35632e
|
Moved exceptions.rb to monkey_patch.
|
2015-08-07 14:17:08 -04:00 |
|
Peter Camilleri
|
83dbed46bd
|
Rationalized the conversion to Rational.
|
2015-07-15 14:07:14 -04:00 |
|
Peter Camilleri
|
3cc87125b7
|
Refactored the comparison operators to remove superflous intermediates.
|
2015-06-14 17:13:52 -04:00 |
|
Peter Camilleri
|
5eada13959
|
Refactor: renamed all mnmx_xxx to foorth_xxx
|
2015-04-24 18:03:08 -04:00 |
|
Peter Camilleri
|
1896e24087
|
Removed MaxNumeric and MinNumeric classes. Spec Changed.
|
2015-04-24 11:33:36 -04:00 |
|
Peter Camilleri
|
a34df68858
|
Updated to work with minitest 5.5.1
|
2015-04-12 15:29:54 -04:00 |
|
Peter Camilleri
|
b4d8af4199
|
Removed the superflous ForceAbort exception.
|
2015-02-08 19:24:54 -05:00 |
|
Peter Camilleri
|
a4713b7588
|
Respec variables; Deleted the to_foorth_p method.
|
2015-02-02 15:28:48 -05:00 |
|
Peter Camilleri
|
f5f860dc04
|
Changed a test. Complex to Character no longer allwed.
|
2015-01-27 10:45:27 -05:00 |
|
Peter Camilleri
|
fe5d09f6de
|
Fixed foorth_coerce for Float and added missing tests.
|
2015-01-11 17:15:45 -05:00 |
|
Peter Camilleri
|
2aeef5f5cc
|
Rebuilt the greater than operator.
|
2015-01-10 20:19:26 -05:00 |
|
Peter Camilleri
|
e8085ad1df
|
Added coerces protocol to Complex.
|
2015-01-10 17:48:27 -05:00 |
|
Peter Camilleri
|
8cca7f069f
|
Added the coerce protocol to Rational.
|
2015-01-10 16:23:32 -05:00 |
|
Peter Camilleri
|
70bec082e3
|
Added the coerce protocol to Float.
|
2015-01-10 15:06:26 -05:00 |
|
Peter Camilleri
|
cb5ee33063
|
Added coerce support for integers.
|
2015-01-10 14:57:21 -05:00 |
|
Peter Camilleri
|
fa41b0130e
|
Begin overhaul of dyadic ops. New coerce protocols.
|
2015-01-10 14:16:44 -05:00 |
|
Peter Camilleri
|
6f03ccd5e1
|
Even better!
|
2015-01-07 18:38:03 -05:00 |
|
Peter Camilleri
|
6cae9d37f9
|
Numeric to_foorth_c now raises and exception on invalid values.
|
2015-01-07 18:28:08 -05:00 |
|
Peter Camilleri
|
fa274ea451
|
Now using the minitest_visible gem.
|
2014-12-19 19:17:23 -05:00 |
|
Peter Camilleri
|
64c31dc861
|
Added the default non min max comparisons.
|
2014-12-11 21:59:23 -05:00 |
|
Peter Camilleri
|
7897b5efb7
|
The MaxNumeric and MinNumeric are now classes so the they may be a proxy.
Checks added to forbid creating instances of these. Added max_num and min_num.
|
2014-12-11 14:20:09 -05:00 |
|
Peter Camilleri
|
04a727a5be
|
Added to_s support to min and max.
|
2014-12-11 13:47:39 -05:00 |
|
Peter Camilleri
|
156a248a54
|
Added missing to_i errors to min and max.
|
2014-12-11 13:25:20 -05:00 |
|
Peter Camilleri
|
f2374ec68a
|
Added the mnmx_cp(other) operator.
|
2014-12-11 13:21:43 -05:00 |
|
Peter Camilleri
|
9568481382
|
Added the mnmx_le(other) operator.
|
2014-12-11 13:04:09 -05:00 |
|
Peter Camilleri
|
30d4ddedd1
|
Added the mnmx_lt(other) operator.
|
2014-12-11 12:54:53 -05:00 |
|
Peter Camilleri
|
17d41f9230
|
Added the mnmx_ge(other) operator.
|
2014-12-11 12:46:52 -05:00 |
|
Peter Camilleri
|
cb384db986
|
Added the mnmx_gt(other) operator.
|
2014-12-11 12:38:11 -05:00 |
|
Peter Camilleri
|
709af8b827
|
The new math. Part 1; The outline.
|
2014-12-11 12:17:54 -05:00 |
|
Peter Camilleri
|
eb1e445534
|
Returned to a more sane spec for booleans where nil and false are false and
all others are considered to be true.
|
2014-11-30 21:06:07 -05:00 |
|
Peter Camilleri
|
f8d7123649
|
Removed obsolete instance var aliases.
|
2014-11-28 20:06:58 -05:00 |
|
Peter Camilleri
|
55aa14a41f
|
Renamed the embed method to foorth_embed.
|
2014-11-21 11:17:38 -05:00 |
|
Peter Camilleri
|
5c2de9414e
|
Core rewrite: Refactored foorth_name method.
Deleted monkey_patch/class.rb -- now emptied.
|
2014-11-12 21:13:05 -05:00 |
|
Peter Camilleri
|
1a37963c12
|
Monkey patched in the foorth_name method so that now, all objects
understand that method.
|
2014-11-08 16:59:39 -05:00 |
|
Peter Camilleri
|
b2d07f46ff
|
Updated the tests for to_foorth_b and fixed errors.
|
2014-11-08 10:52:35 -05:00 |
|
Peter Camilleri
|
dd0bf95da3
|
Revert "Patched around stupid changes to minitest."
This reverts commit 063210c2c2 .
These changes to the test file are an abomination. Time to fix minitest!
|
2014-11-04 00:26:00 -05:00 |
|
Peter Camilleri
|
063210c2c2
|
Patched around stupid changes to minitest.
|
2014-11-03 17:43:45 -05:00 |
|
Peter Camilleri
|
296f6cbcf6
|
Monkey patched in the to_foorth_p protocol.
|
2014-11-01 14:55:26 -04:00 |
|
Peter Camilleri
|
a48d4f1fa2
|
The string to_foorth_n now supports complex numbers with negative
imaginary values and explicit positve real values.
|
2014-10-25 15:07:04 -04:00 |
|
Peter Camilleri
|
d1122c9cbe
|
Updated String tests.
|
2014-10-13 19:59:18 -04:00 |
|
Peter Camilleri
|
06e65f001e
|
Added tests for string and file sources.
|
2014-09-18 12:49:17 -04:00 |
|
Peter Camilleri
|
1d0d2a2ac3
|
I hate regular expressions!
|
2014-09-15 13:20:11 -04:00 |
|
Peter Camilleri
|
54779109ee
|
Day 5a - Returned to sensible use of fOOrth where appropriate.
|
2014-09-14 14:10:07 -04:00 |
|
Peter Camilleri
|
6e81fc046c
|
Day 4, replaced cute fOOrth with the less smelly foorth
|
2014-09-12 21:03:20 -04:00 |
|
Peter Camilleri
|
a518d6e699
|
Day 3
|
2014-09-11 18:35:51 -04:00 |
|