Rewrite the loop so that the result is the same for dict and dict_oa.
This commit is contained in:
1 parent
10f900ea3e
commit
fe18009bc0
1 file changed
+2
-1
+2
-1
@@ -137,8 +137,9 @@ test_dict(unsigned long n)
|
||||
#endif
|
||||
M_LET(dict, DICT_OPLIST(dict_ulong)) {
|
||||
for (size_t i = 0; i < n; i++) {
|
||||
unsigned long value = rand_get();
|
||||
unsigned long key = rand_get();
|
||||
dict_ulong_set_at(dict, key, rand_get() );
|
||||
dict_ulong_set_at(dict, key, value);
|
||||
}
|
||||
rand_init();
|
||||
unsigned int s = 0;
|
||||
|
||||
Reference in new issue
Block a user