c0292842a5
test/item/test_inventory.c was disabled via a commented-out add_subdirectory(item) with no explanation - the actual cause was a stale "item/inventory.h" include left over from before the rpg/ reorg (real path is rpg/item/inventory.h). The current inventory.h/.c API it tests hasn't drifted; only the include path had rotted. Also fixes a copy-paste bug in test_inventorySort: the "sort by type" assertions were calling INVENTORY_SORT_BY_ID again instead of INVENTORY_SORT_BY_TYPE, so inventorySortByType/Reverse had zero real coverage. Asserts on type grouping only (not the tied FOOD-vs-FOOD order), since the underlying sort() is qsort and not stable. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
16 lines
398 B
CMake
16 lines
398 B
CMake
# Copyright (c) 2026 Dominic Masters
|
|
#
|
|
# This software is released under the MIT License.
|
|
# https://opensource.org/licenses/MIT
|
|
|
|
add_subdirectory(animation)
|
|
add_subdirectory(assert)
|
|
add_subdirectory(asset)
|
|
add_subdirectory(console)
|
|
add_subdirectory(error)
|
|
add_subdirectory(thread)
|
|
add_subdirectory(display)
|
|
add_subdirectory(rpg)
|
|
add_subdirectory(item)
|
|
add_subdirectory(time)
|
|
add_subdirectory(util) |