M. Edward (Ed) Borasky <znmeb / cesmail.net> wrote: > > RSpec has an "approximately equal" operator that allows you to specify > how close two floating point numbers "should be". I forget what it's > called, but you should be able to lift the code for it and specify how > close numbers need to be. There is something like this built into the > eigensystem solvers, however, so you probably don't want to use a finer > tolerance than the solver did. :) Actually, since this capability is > built into RSpec, you should consider using RSpec as a test framework > for number crunching code. I'll have a look upon RSpec, thanks ! Une Bñ×ue