In tests, do you assert_eq(computed, expected), or assert_eq(expected, computed)?
assert_eq!(left, right) doesn't have implicit roles for the parameters, unlike GTest (expected, computed) & other frameworks.
-
-
yeah, it's no big deal. I just wonder about the right way to do it every time I type it :)
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.