Mathew Bramson
Mathew Bramson
@bitwalker, is this still an active issue?
Agreed. This has been fixed by #282 and should be closed.
@sreekanthrv has this issue been fixed?
@Average-user I didn't even know that https://github.com/exercism/problem-specifications/blob/master/exercises/complex-numbers/canonical-data.json was a thing! I just came up with those test cases myself. I'll update the PR with those test cases. With regard to...
@Average-user @qjd2413 Updated with new tests. Let me know what you think. Still up to change to `=/=` if you think that leads to a better test.
Oh wow. Well I feel stupid. I totally didn't realize that `\=` declared inequality.
Okay, so the tests are actually testing things properly now, (although not exactly precisely, but up to three significant digits of precision). I don't love these tests (obviously infinitely better...
As you pointed out `=:=` does not work here because of floating point arithmetic. I could use the exact floats that I get out of my solution, but that's assuming...