[Dune] [#1130] Write Dune-specific assert which ignores -DNDEBUG

Dune flyspray at dune-project.org
Fri Jun 15 13:19:25 CEST 2012


THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.

The following task has a new comment added:

FS#1130 - Write Dune-specific assert which ignores -DNDEBUG
User who did this - Christoph Grüninger (gruenich)

----------
We could specialize tests for special types like

assertEquals(double actual, double expected, double eps=1e-12)

which would do internally a float_cmp. With only assert you had to call the comparison yourself or just make a mistake and forget about it.
For FieldVector we might want to test with some norm.
----------

More information can be found at the following URL:
http://www.dune-project.org/flyspray/index.php?do=details&task_id=1130#comment3735

You are receiving this message because you have requested it from the Flyspray bugtracking system.  If you did not expect this message or don't want to receive mails in future, you can change your notification settings at the URL shown above.



More information about the Dune mailing list