Gut
Gut copied to clipboard
assert_almost_eq should accept a float or int as third parameter when comparing Vectors
I think in most cases, when asserting a Vector is almost eq to another, the threshold will be the same for all parts of the vector. To make the assert easier to use and more readable, assert_almost_eq and assert_almost_ne should treat the third parameter as all parts of a vector2 or vector3 when the value is a float or int.