Skip to content

Conditional (ternary) operator support #65

Description

@ladisgin

Moved from UnitTestBot/UTBotCpp#324

Description
Add conditional (ternary) operator ? : support.

Current behavior
Source code:

int ternary_positive(int n) {
    int res = n >= 0 ? 1 : 0;
    return res;
}

Only one test generated

Expected behavior More tests generated.

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingenhancementNew feature or request

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions