Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

void methods are not testable. so we need to make then to return error code #38

Open
Suresh-Babu-K opened this issue Feb 5, 2019 · 0 comments

Comments

@Suresh-Babu-K
Copy link

void methods are not testable. so we need to make then to return error code

this look challenging as we did not designed the whole code as testable one.

void CpuCostModel::PrepareStats(FlowGraphNode* accumulator) .. if this would have returned an error code we know that action is completed properly .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant