diff options
author | Richard Linden <none@none> | 2013-08-12 20:05:16 -0700 |
---|---|---|
committer | Richard Linden <none@none> | 2013-08-12 20:05:16 -0700 |
commit | cc31b4ae7934010762b8aaaa7e190c74a1cd7820 (patch) | |
tree | 61bb7e622417a5223fa108522e16f6b7dee147f3 /indra/llcommon/tests/llunits_test.cpp | |
parent | e340009fc59d59e59b2e8d903a884acb76b178eb (diff) |
SH-4399 FIX: Interesting: Texture console MB Bound 0/384 and texture queue bounces once per second
SH-4346 FIX: Interesting: some integer Statistics are displayed as floating point after crossing region boundary
made llerrs/infos/etc properly variadic wrt tags
LL_INFOS("A", "B", "C") works, for example
fixed unit tests
remove llsimplestat
Diffstat (limited to 'indra/llcommon/tests/llunits_test.cpp')
-rw-r--r-- | indra/llcommon/tests/llunits_test.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/indra/llcommon/tests/llunits_test.cpp b/indra/llcommon/tests/llunits_test.cpp index e631f18ad4..ff981ca2ff 100644 --- a/indra/llcommon/tests/llunits_test.cpp +++ b/indra/llcommon/tests/llunits_test.cpp @@ -53,6 +53,7 @@ namespace tut template<> template<> void units_object_t::test<1>() { + LL_INFOS("test") << "Test" << LL_ENDL; LLUnit<F32, Quatloos> float_quatloos; ensure(float_quatloos == 0.f); @@ -93,6 +94,11 @@ namespace tut LLUnit<F32, Solari> solari(quatloos); ensure(solari == 4096); + + // division of integral unit + LLUnit<S32, Quatloos> single_quatloo(1); + LLUnit<F32, Latinum> quarter_latinum = single_quatloo; + ensure(quarter_latinum == 0.25f); } // conversions across non-base units |