You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Generated two tests with the same input and different output [BUG] #313
Expected behavior
One regression test is supposed to be generated.
Actual behavior
One regression and one error test are generated.
Visual proofs (screenshots, logs)
/* * This file is automatically generated by UnitTestBot. For further information seehttps://unittestbot.org*/
#include"snippet_dot_cpp_test.h"
#include"gtest/gtest.h"
#include"access_private.hpp"namespaceUTBot {
staticconstfloat utbot_abs_error = 1e-6;
#pragma region regression
TEST(regression, foo_test_1)
{
int actual = foo({
});
EXPECT_EQ(0, actual);
}
#pragma endregion
#pragma region error
TEST(error, foo_test_2)
{
foo({
});
}
#pragma endregion
}
Activity