FastLED 3.10.8
Loading...
Searching...
No Matches

◆ hashCurrentPath()

fl::u32 fl::test::TestContext::hashCurrentPath ( const SubcaseSignature & sig) const
private

Definition at line 427 of file fltest.cpp.hpp.

427 {
428 fl::u32 hash = 0;
429 for (fl::size i = 0; i < mSubcaseDiscoveryDepth && i < mSubcaseStack.size(); ++i) {
431 }
432 hash = hash * 31 + hashSubcaseSignature(sig);
433 return hash;
434}
fl::size mSubcaseDiscoveryDepth
Definition fltest.h:263
fl::vector< SubcaseSignature > mSubcaseStack
Definition fltest.h:252
fl::u32 hashSubcaseSignature(const SubcaseSignature &sig) FL_NO_EXCEPT
Definition fltest.h:150

References fl::FL_NO_EXCEPT, fl::test::hashSubcaseSignature(), mSubcaseDiscoveryDepth, and mSubcaseStack.

Referenced by enterSubcase(), and exitSubcase().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: