Jason Bock

Home Biography Speaking Articles Books Music

I Love Floating-Point Arithmetic

Assert.AreEqual failed. Expected:<0.1455>, Actual:<0.1455>.

Sigh …

Assert.AreEqual(0.1455, calculatedValue, 0.0001);

There!

Published: 04.03.2007 01:11:07 PM CST