BullseyeCoverage
unsigned cov_eventCount(void);
Function cov_eventCount
returns the total number of coverage events
recorded in memory for the current executable image.
This function is automatically declared in source files compiled
by covc. In other
source files, declare it by including <BullseyeCoverage.h>
.
#if _BullseyeCoverage const unsigned count = cov_eventCount(); #endif testCase1(); #if _BullseyeCoverage if (count == cov_eventCount()) printf("testCase1 does not increase coverage\n"); #endif
Updated: 23 Sep 2023
Copyright © Bullseye Testing Technology. All Rights Reserved.