Air-Trap 1.0.0
A multiplayer R-Type clone game engine built with C++23 and ECS architecture
Loading...
Searching...
No Matches
test_sparsearray.cpp File Reference
#include <gtest/gtest.h>
#include "RType/ECS/SparseArray.hpp"
#include "RType/ECS/Entity.hpp"
Include dependency graph for test_sparsearray.cpp:

Go to the source code of this file.

Classes

struct  DummyComponent
 

Functions

 TEST (SparseArrayTest, EraseNonExistingIsNoop)
 
 TEST (SparseArrayTest, OverwriteKeepsSizeOne)
 
 TEST (SparseArrayTest, EraseSwapBackMaintainsMapping)
 
 TEST (SparseArrayTest, EntitiesAndDataSizesStayConsistent)
 

Function Documentation

◆ TEST() [1/4]

TEST ( SparseArrayTest  ,
EntitiesAndDataSizesStayConsistent   
)

◆ TEST() [2/4]

TEST ( SparseArrayTest  ,
EraseNonExistingIsNoop   
)

◆ TEST() [3/4]

TEST ( SparseArrayTest  ,
EraseSwapBackMaintainsMapping   
)

◆ TEST() [4/4]

TEST ( SparseArrayTest  ,
OverwriteKeepsSizeOne   
)