On 7-Jul-09, at 4:09 PM, John M McIntosh wrote:
self should: [self storedEntry = 0.1].
because (1/10) = 0.1 => false
I should note the test is slightly wrong because storedEntry is a fraction and I should be testing for 1/10 and somewhere in the 100 or so other tests I'm check for issues with float to fraction conversions. Where as mentioned in a later note I use asApproximateFraction in the proper places to avoid conversion errors. -- = = = ======================================================================== John M. McIntosh <johnmci@smalltalkconsulting.com> Twitter: squeaker68882 Corporate Smalltalk Consulting Ltd. http://www.smalltalkconsulting.com = = = ========================================================================