It looks like that float does the thing that floats do and now i don't know how to make the test pass
running 1 test
test addition ... FAILED
failures:
---- addition stdout ----
thread 'addition' panicked at 'assertion failed: `(left == right)`
left: `Vec2d { x: 11.9, y: 9.9 }`,
right: `Vec2d { x: 11.9, y: 9.900001 }`', tests/addition.rs:10:2
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace.
Thanks
Aucun commentaire:
Enregistrer un commentaire