IF Test Purpose to C translator