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

Conditional (ternary) operator support #65

Open
ladisgin opened this issue Mar 9, 2023 · 0 comments
Open

Conditional (ternary) operator support #65

ladisgin opened this issue Mar 9, 2023 · 0 comments
Assignees
Labels
bug Something isn't working enhancement New feature or request

Comments

@ladisgin
Copy link
Member

ladisgin commented Mar 9, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants