-
Couldn't load subscription status.
- Fork 30
Closed
Labels
bugSomething isn't workingSomething isn't workingc-syntaxRelated to generation tests for CRelated to generation tests for Ccpp-syntaxRelated to generation tests for C++Related to generation tests for C++
Description
Description
If project contains such function that returns anonymous enum:
enum {runn, walk} some_enum_function(){
return runn;
}
There is no possibility to generate tests for such function or run generated tests for another function in this project, cause wrapper contains such lines:
enum (anonymous enum at /home/utbot/UTBotCpp/integration-tests/c-example/lib/structures/enums.c:78:1) some_enum_function_lib_structures_enums_c() {
return some_enum_function();
}
To Reproduce
- Add example of function from description into project.
- Generate tests for some function.
- See that wrapper for function with anonymous enum looks like it shown in description.
Expected behavior
Tests are supposed to be generated and executed.
Actual behavior
Tests failed or did not generated.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingc-syntaxRelated to generation tests for CRelated to generation tests for Ccpp-syntaxRelated to generation tests for C++Related to generation tests for C++
Type
Projects
Status
Done