5 Commits

Author SHA1 Message Date
Andrew Krieger 0215b26cce Rewrite all tests to clear map without touching character map memory, for performance. 2026-02-08 23:05:55 -08:00
PatrikLundell 09e3557c5b sanitized get_map use (#80499)
* sanitized get_map use

* demanded changes

* demanded changes

* demanded changes
2025-04-08 07:34:20 +02:00
marilynias fa78e931b6 Add AIM tests (part 2) - Basic transfer / pick up (#80308)
* test

* e

* implement overburden weight

* better organisation

* add tests

* fix up wiedness

* clean up

* tostring

* int -> size_t

* parcially revert size_t

* iwyu

* oopsied wrong file

* implement max_pickup_capacity instead of hardcoded *4

* test

* more debug

* some fixups

* sorting

* sort

---------

Co-authored-by: marilynias <marilynias57+github@gmail.com>
2025-04-02 15:17:04 +02:00
marilynias 616dea2f0b fix both AIM-panels selected (#80303)
* fix both panels selected

* add tests

* Update advanced_inv.h

* Update advanced_inventory_test.cpp
2025-03-24 21:21:26 -05:00
marilynias 51d2bc239e Make AIM actions testable part1: Infrastructure (#79976)
* init test

* IWYU + sucessful test

* revert init

* check

* reverse

* IWYU

* remove slightly missleading comment

* got lost in merge

* clearer test condition

* IWYU

* wrong use of funciton

* const where I can

* 2

* clang-tidy, misc changes

* fix wrong loc_action map, add requires

---------

Co-authored-by: marilynias <marilynias57+github@gmail.com>
2025-03-05 08:03:05 +01:00