Skip to content

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

Open
@Suresh-Babu-K

Description

@Suresh-Babu-K

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 .

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions