diff options
author | Richard Linden <none@none> | 2013-08-27 18:59:32 -0700 |
---|---|---|
committer | Richard Linden <none@none> | 2013-08-27 18:59:32 -0700 |
commit | 5ddd5694b54150b50a77627112ea98a4a94d0e46 (patch) | |
tree | ef2562a1984345e4b2db60f430d289babbe580e6 | |
parent | 5a22ab52618ae588f1303c7b6d0bb7a8c4b4ca93 (diff) |
fixed bad logic in unit test
-rw-r--r-- | indra/llcommon/tests/llunits_test.cpp | 8 |
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 |