-
Notifications
You must be signed in to change notification settings - Fork 30
Open
Labels
bugSomething isn't workingSomething isn't workingcpp-syntaxRelated to generation tests for C++Related to generation tests for C++
Description
Steps to reproduce:
- Open UTBot Online
- Choose C++ language
- Paste the following code
#include <iostream>
#include <cmath>
#include <cstring>
using namespace std;
class A {
public:
int method() {
return 0;
}
};
int foo()
{
// TODO: write your code here
return 0;
}
- See generated tests
...
namespace UTBot {
static const float utbot_abs_error = 1e-6;
// Function 'method' was skipped, as inline function without static or extern modifier is not supported by now
#pragma region regression
TEST(regression, foo_test_1)
{
int actual = foo();
EXPECT_EQ(0, actual);
}
#pragma endregion
}
Expected behaviour
Tests for class method are generated successfully as it is supported in UTBotCpp
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingcpp-syntaxRelated to generation tests for C++Related to generation tests for C++
Type
Projects
Status
Todo