FastLED 3.9.15
Loading...
Searching...
No Matches

◆ hashCurrentPath()

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

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

418 {
419 fl::u32 hash = 0;
420 for (fl::size i = 0; i < mSubcaseDiscoveryDepth && i < mSubcaseStack.size(); ++i) {
422 }
423 hash = hash * 31 + hashSubcaseSignature(sig);
424 return hash;
425}
fl::size mSubcaseDiscoveryDepth
Definition fltest.h:263
fl::vector< SubcaseSignature > mSubcaseStack
Definition fltest.h:252
fl::u32 hashSubcaseSignature(const SubcaseSignature &sig) FL_NOEXCEPT
Definition fltest.h:150

References FL_NOEXCEPT, 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: