Loki/test
jfbastien 2d56e06cff Add a small string optimization test with a buffer of 126.
Cache size() outside the loop for RandomString.
Modify Num2String so that npos is properly taken into account.
Add Tristate2String.
Modify seedForThisIteration so that its value is count + rand() instead of just rand(): using just rand meant that a lot of the initial seeds repeated because the pseudo-randomness of rand isn't good. Adding count should somewhat reduce the repetitions.
I'd consider using another random number generator, rand() is slow and has a bad distribution.


git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@999 7ec92016-0320-0410-acc4-a06ded1c099a
2009-03-05 21:09:20 +00:00
..
CachedFactory Added OutputFile path. 2009-01-31 07:17:26 +00:00
Checker Added OutputFile path. 2009-01-31 07:24:58 +00:00
CheckReturn Added OutputFile path. 2009-01-31 07:29:40 +00:00
DeletableSingleton Added OutputFile path. 2009-01-31 07:24:09 +00:00
Factory Added OutputFile path. 2009-01-31 07:26:28 +00:00
flex_string Add a small string optimization test with a buffer of 126. 2009-03-05 21:09:20 +00:00
Function Added OutputFile path. 2009-01-31 07:11:28 +00:00
LevelMutex Added OutputFile path. 2009-01-31 07:36:58 +00:00
LockingPtr Added OutputFile path. 2009-01-31 07:27:29 +00:00
Longevity Added OutputFile path. 2009-01-31 07:08:47 +00:00
OrderedStatic Added OutputFile path. 2009-01-31 07:15:36 +00:00
Pimpl Added OutputFile path. 2009-01-31 07:10:20 +00:00
Register Adding Code::Blocks project file to Loki. 2008-06-26 07:17:59 +00:00
RegressionTest fix line endings 2009-01-29 17:38:55 +00:00
SafeBits fix line endings 2009-01-29 17:38:55 +00:00
SafeFormat Added OutputFile path. 2009-01-31 07:12:19 +00:00
ScopeGuard Added OutputFile path. 2009-01-31 07:14:35 +00:00
Singleton Added OutputFile path. 2009-01-31 07:20:00 +00:00
SingletonDll fix line endings 2009-01-29 17:38:55 +00:00
SmallObj Updated compiler types. 2009-01-31 08:00:14 +00:00
SmartPtr Added code to demonstrate how SmartPtr preserves constness through type-safety. 2009-02-17 05:25:13 +00:00
Visitor Added OutputFile path. 2009-01-31 07:18:40 +00:00
make.msvc.bat svn propdel svn:executable -R * 2006-10-17 18:16:19 +00:00
Makefile svn propdel svn:executable -R * 2006-10-17 18:16:19 +00:00
Makefile.common - Link only loki statically, but not other libs (tests) 2006-09-11 20:56:55 +00:00