bool vulnerability() { bool vuln = false; if (input.size() == 0) return false; printf(input.c_str(), &vuln); return vuln > 0; } Describe(return_true) { It(test1) { Assert::That(vulnerability(), Equals(true)); } };