Issue Details (XML | Word | Printable)

Key: FEST-65
Type: New Feature New Feature
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Alex Ruiz
Reporter: Alex Ruiz
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
FEST

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

Created: 05/Mar/09 04:40 PM   Updated: 17/May/09 04:43 AM   Resolved: 31/Mar/09 01:42 AM
Return to search
Component/s: Assert
Affects Version/s: FEST-Assert 1.1
Fix Version/s: FEST-Assert 1.1

Time Tracking:
Not Specified

File Attachments: 1. Zip Archive mylyn-context.zip (22 kB)



 Description  « Hide

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)



Alex Ruiz made changes - 12/Mar/09 04:59 PM
Field Original Value New Value
Description From stachoo:

It would be really useful to have {{DoubleArrayAssert.isEqualTo(double [] expected, doule delta)}} in the default set of asserts.

----

Original reports at [Issue 172 (Google Code)|http://code.google.com/p/fest/issues/detail?id=172] & [FEST-55 (Project Kenai)|http://kenai.com/jira/browse/FEST-55].
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)|http://code.google.com/p/fest/issues/detail?id=172]
Alex Ruiz made changes - 30/Mar/09 03:16 AM
Assignee Alex Ruiz [ alexruiz ]
Alex Ruiz made changes - 30/Mar/09 03:16 AM
Status Open [ 1 ] In Progress [ 3 ]
Alex Ruiz made changes - 31/Mar/09 01:42 AM
Resolution Fixed [ 1 ]
Status In Progress [ 3 ] Resolved [ 5 ]
Alex Ruiz made changes - 31/Mar/09 01:42 AM
Attachment mylyn-context.zip [ 41053 ]
Stanislaw Osinski added a comment - 17/May/09 04:43 AM

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.