summaryrefslogtreecommitdiff
path: root/indra/llcommon/tests
diff options
context:
space:
mode:
authorRichard Linden <none@none>2013-08-27 18:59:32 -0700
committerRichard Linden <none@none>2013-08-27 18:59:32 -0700
commit5ddd5694b54150b50a77627112ea98a4a94d0e46 (patch)
treeef2562a1984345e4b2db60f430d289babbe580e6 /indra/llcommon/tests
parent5a22ab52618ae588f1303c7b6d0bb7a8c4b4ca93 (diff)
fixed bad logic in unit test
Diffstat (limited to 'indra/llcommon/tests')
-rw-r--r--indra/llcommon/tests/llunits_test.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/indra/llcommon/tests/llunits_test.cpp b/indra/llcommon/tests/llunits_test.cpp
index d5b7c08672..57cf9810af 100644
--- a/indra/llcommon/tests/llunits_test.cpp
+++ b/indra/llcommon/tests/llunits_test.cpp
@@ -280,10 +280,10 @@ namespace tut
ensure("can compare greater than non-implicit unit", quatloos_implicit > F32Quatloos(0.f));
ensure("can compare greater than or equal to implicit unit", quatloos_implicit >= F32QuatloosImplicit(0.f));
ensure("can compare greater than or equal to non-implicit unit", quatloos_implicit >= F32Quatloos(0.f));
- ensure("can compare less than implicit unit", quatloos_implicit < F32QuatloosImplicit(0.f));
- ensure("can compare less than non-implicit unit", quatloos_implicit < F32Quatloos(0.f));
- ensure("can compare less than or equal to implicit unit", quatloos_implicit <= F32QuatloosImplicit(0.f));
- ensure("can compare less than or equal to non-implicit unit", quatloos_implicit <= F32Quatloos(0.f));
+ ensure("can compare less than implicit unit", quatloos_implicit < F32QuatloosImplicit(20.f));
+ ensure("can compare less than non-implicit unit", quatloos_implicit < F32Quatloos(20.f));
+ ensure("can compare less than or equal to implicit unit", quatloos_implicit <= F32QuatloosImplicit(20.f));
+ ensure("can compare less than or equal to non-implicit unit", quatloos_implicit <= F32Quatloos(20.f));
}
// precision tests