add cpp test progress, use round instead of truncation