Skip to content

Commit

Permalink
correct expectated value to unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
commy2 committed Apr 14, 2018
1 parent ad31113 commit b586284
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addons/vectors/test_vectors.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@ _expected = [0,-0.00000004371138828674,1];
TEST_TRUE([ARR_2(_result,_expected)] call _fnc_vectorEquals,_fn);

_result = [[0,1,0],[0,0,1],-45] call CBA_fnc_vectRotate3D;
_expected = [0,sqrt(2)/2,sqrt(2)/2];
_expected = [sqrt 2/2,sqrt 2/2,0];
TEST_TRUE([ARR_2(_result,_expected)] call _fnc_vectorEquals,_fn);

// UNIT TESTS (vectSubtract)
Expand Down

0 comments on commit b586284

Please sign in to comment.