MCPcopy Create free account
hub / github.com/FlaxEngine/FlaxEngine / CheckBitArray

Function CheckBitArray

Source/Engine/Tests/TestCollections.cpp:19–26  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

17
18template<typename AllocationType = HeapAllocation>
19void CheckBitArray(const BitArray<AllocationType>& array)
20{
21 CHECK(array.Count() == ARRAY_COUNT(TestBits));
22 for (int32 i = 0; i < ARRAY_COUNT(TestBits); i++)
23 {
24 CHECK(array[i] == TestBits[i]);
25 }
26}
27
28TEST_CASE("Array")
29{

Callers 1

Calls 1

CountMethod · 0.45

Tested by

no test coverage detected