xo-arena: bugfix: backwards iteration working now

This commit is contained in:
Roland Conybeare 2026-01-08 18:20:27 -05:00
commit 6f0b45c429
3 changed files with 84 additions and 1 deletions

View file

@ -207,6 +207,9 @@ namespace xo {
ok_flag &= HashMapUtil<HashMap>::check_forward_iterator(0.0 /*dvalue*/,
dbg_flag, hash_map);
/* regular forward iterator, but start at hash_map.end() and use operator-- */
ok_flag &= HashMapUtil<HashMap>::check_backward_iterator(0.0 /*dvalue*/,
dbg_flag, hash_map);
ok_flag &= HashMapUtil<HashMap>::random_lookups(0.0 /*dvalue*/,
dbg_flag, &rgen, hash_map);