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.
Description
If project contains such function that
returnsanonymous enum: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:
To Reproduce
Expected behavior
Tests are supposed to be generated and executed.
Actual behavior
Tests failed or did not generated.