diff options
author | Brad Payne (Vir Linden) <vir@lindenlab.com> | 2018-01-17 16:06:27 +0000 |
---|---|---|
committer | Brad Payne (Vir Linden) <vir@lindenlab.com> | 2018-01-17 16:06:27 +0000 |
commit | e36745eb986ec9dd04c7f4f6d7a7249b7d5286a2 (patch) | |
tree | e2107a6f3afd57fcc817a5b8ea3566295105d0d4 /indra/llmath/tests/v4math_test.cpp | |
parent | 500aaa16ff2aa35b318176fd01cfaba47376f5a5 (diff) | |
parent | 7acbd8ed8d73c507675d45360df07d232c431a8b (diff) |
merge
Diffstat (limited to 'indra/llmath/tests/v4math_test.cpp')
-rw-r--r-- | indra/llmath/tests/v4math_test.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/indra/llmath/tests/v4math_test.cpp b/indra/llmath/tests/v4math_test.cpp index 191ac864df..9779dfded3 100644 --- a/indra/llmath/tests/v4math_test.cpp +++ b/indra/llmath/tests/v4math_test.cpp @@ -355,7 +355,8 @@ namespace tut val3 = z1 + (z2 - z1)* val; val4 = w1 + (w2 - w1)* val; LLVector4 vec4b = lerp(vec4,vec4a,val); - ensure("lerp failed", ((val1 ==vec4b.mV[VX])&& (val2 ==vec4b.mV[VY]) && (val3 ==vec4b.mV[VZ])&& (val4 ==vec4b.mV[VW]))); + LLVector4 check(val1, val2, val3, val4); + ensure_equals("lerp failed", check, vec4b); } template<> template<> |