Hello,

In message "[ruby-talk:03325] Re: RubyUnit assert_raiseexception"
    on 00/06/12, Aleksi Niemel? <aleksi.niemela / cinnober.com> writes:

> # 1.4142 would be enough in the first example
> assert_equal_float( Math.sqrt(2), 1.41421,   4, "Approximation failed" ) 
> assert_equal_float( Math.sqrt(2), 1.4142135, 7, "Approximation failed" )
> assert_equal_float_rounded( Math.sqrt(2), 1.4142136, 7, "Approximation
> failed" )

I have coded assert_equal_float the version with epsilon checking.

  assert_equal_float(Math.sqrt(2), 1.414, 0.001)

Probably I can code the X digit checking version, but I have no 
good name of the method. Do you have any good idea about the 
name of the method with X digit checking version?

  Thank you

  Masaki Suketa <CQN02273 / nifty.ne.jp>