nolta/julia — comment on commit 79e793361b6365a29fb66191c28f4db0757bd31b
File: test/amos.j line 8
By StefanKarpinski:

We should probably make this an assert with a name like `@assert_approx` or something like that. I've also thought about adding `@assert_equal` for unit tests because that allows printing both the expressions that weren't equal and the values that weren't equal, which currently doesn't happen when a test fails, requiring instrumenting the test code with `println` just so you know what values were failed for. This path leads to an explosion of annoying `@assert_...` macros that duplicate all sorts of things that logical operators in your language are for. So I hesitated to do it.

In this specific case, an alternative would be to get values from Mathematica to full 64-bit float precision and just check for equality.