setup_catch_lib_test(chowdsp_data_structures_test common_tests_lib)

target_sources(chowdsp_data_structures_test
    PRIVATE
        AbstractTreeTest.cpp
        ArrayHelpersTest.cpp
        BucketArrayTest.cpp
        DoubleBufferTest.cpp
        IteratorsTest.cpp
        LocalPointerTest.cpp
        OptionalPointerTest.cpp
        SmallVectorTest.cpp
        ArenaAllocatorTest.cpp
        ChainedArenaAllocatorTest.cpp
        StringLiteralTest.cpp
        TupleHelpersTest.cpp
        VectorHelpersTest.cpp
        SmallMapTest.cpp
        STLArenaAllocatorTest.cpp
        RawObjectTest.cpp
        EnumMapTest.cpp
        OptionalRefTest.cpp
        OptionalArrayTest.cpp
        PoolAllocatorTest.cpp
        PackedPointerTest.cpp
        ChunkListTest.cpp
        FixedSizeFunctionTest.cpp
        FlatMemoryPoolTest.cpp
)

target_compile_features(chowdsp_data_structures_test PRIVATE cxx_std_20)
