cpp test in Xcode