|
Air-Trap 1.0.0
A multiplayer R-Type clone game engine built with C++23 and ECS architecture
|
Go to the source code of this file.
Classes | |
| struct | DummyComponent |
Functions | |
| TEST (SparseArrayTest, EraseNonExistingIsNoop) | |
| TEST (SparseArrayTest, OverwriteKeepsSizeOne) | |
| TEST (SparseArrayTest, EraseSwapBackMaintainsMapping) | |
| TEST (SparseArrayTest, EntitiesAndDataSizesStayConsistent) | |
| TEST | ( | SparseArrayTest | , |
| EntitiesAndDataSizesStayConsistent | |||
| ) |
Definition at line 50 of file test_sparsearray.cpp.
References rtp::ecs::SparseArray< T >::emplace(), rtp::ecs::SparseArray< T >::entities(), rtp::ecs::SparseArray< T >::erase(), and rtp::ecs::SparseArray< T >::size().
| TEST | ( | SparseArrayTest | , |
| EraseNonExistingIsNoop | |||
| ) |
Definition at line 11 of file test_sparsearray.cpp.
References rtp::ecs::SparseArray< T >::empty(), rtp::ecs::SparseArray< T >::erase(), and rtp::ecs::SparseArray< T >::size().
| TEST | ( | SparseArrayTest | , |
| EraseSwapBackMaintainsMapping | |||
| ) |
Definition at line 28 of file test_sparsearray.cpp.
References rtp::ecs::SparseArray< T >::emplace(), rtp::ecs::SparseArray< T >::erase(), rtp::ecs::SparseArray< T >::has(), and rtp::ecs::SparseArray< T >::size().
| TEST | ( | SparseArrayTest | , |
| OverwriteKeepsSizeOne | |||
| ) |
Definition at line 19 of file test_sparsearray.cpp.
References rtp::ecs::SparseArray< T >::emplace(), and rtp::ecs::SparseArray< T >::size().