FEST

DoubleArrayAssert.isEqualTo(double [] expected, doule delta) (issue 172)

Details

  • Type: New Feature New Feature
  • Status: Resolved Resolved
  • Priority: Major 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 :
    1

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)

Activity

Hide
Stanislaw Osinski added a comment -

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.

Show
Stanislaw Osinski added a comment - 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.

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: