Add tests for rational load factor resizing policy
authorMike Krinkin <krinkin.m.u@gmail.com>
Sun, 26 Apr 2015 07:27:25 +0000 (10:27 +0300)
committerMike Krinkin <krinkin.m.u@gmail.com>
Sun, 26 Apr 2015 10:15:42 +0000 (13:15 +0300)
commit54345bf169738e1aa79974d44d5212c0375b24c8
tree73e3fbb79992c0968af04e3ea27eca516adaf7af
parente0ce332808dd028e0c0554f52aa04e9742e29286
Add tests for rational load factor resizing policy

This patch adds tests for striped and refinable sets with rational
load factor resizing policy. Set adapters expect denominator of
rational load factor, so test output (LoadFactor=i) can be a bit
misleading, for all tests with the 'rational' in the name it means
LoadFactor=1/i.
tests/unit/set2/set_defs.h
tests/unit/set2/set_type_striped.h