#include <windows.h>
#include <stdio.h>
#include "pure.h"
void main()
{
int x;
InputFunctionA();
CoverageClearData();
ComputationFunctionB();
CoverageSaveData();
//The preceding function takes a snapshot of the coverage data
//collected for ComputationFunctionB. The data collected for
//the startup phase of the program was discarded before
//ComputationFunctionB was called.
CoverageClearData();
ComputationFunctionC();
CoverageSaveData();
//The preceding function takes a snapshot of the coverage data
//collected for ComputationFunctionC.
CoverageDisableRecordingData();
//The preceding function disables recording of
//coverage data for the rest of the run.
OutputFunctionD(int);
}
(C) Copyright IBM Corporation 1992, 2010.