MCPcopy Create free account
hub / github.com/InteractiveComputerGraphics/SPlisHSPlasH / shouldShowDuration

Function shouldShowDuration

extern/Catch2/catch.hpp:15794–15803  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

15792 }
15793
15794 bool shouldShowDuration( IConfig const& config, double duration ) {
15795 if ( config.showDurations() == ShowDurations::Always ) {
15796 return true;
15797 }
15798 if ( config.showDurations() == ShowDurations::Never ) {
15799 return false;
15800 }
15801 const double min = config.minDuration();
15802 return min >= 0 && duration >= min;
15803 }
15804
15805 std::string serializeFilters( std::vector<std::string> const& container ) {
15806 ReusableStringStream oss;

Callers 1

sectionEndedMethod · 0.85

Calls 2

showDurationsMethod · 0.80
minDurationMethod · 0.80

Tested by

no test coverage detected