Details
-
Type:
New Feature
-
Status:
Resolved
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: FEST-Assert 1.1
-
Fix Version/s: FEST-Assert 1.1
-
Component/s: Assert
-
Labels:None
-
Number of attachments :
Description
From stachoo:
It would be really useful to have DoubleArrayAssert.isEqualTo(double [] expected, doule delta) in the default set of asserts.
Original report: Issue 172 (Google Code)
Hi there,
I've just upgraded to FEST 1.1 and I've noticed you've changed the code a bit around deltas. I was wondering: would make sense to add a method with signature: DoubleArrayAssert.isEqualTo(double [] expected, double delta) (and have a similar addition in DoubleAssert)? Passing the delta as a plain double would simply save typing / static imports for people writing tests...
Thanks,
S.