UTBotCpp
UTBotCpp copied to clipboard
tests can be generated, but there is no coverage generated when run the test
UTBot is a very promising tool. I expect it help me to find out those difficult product bugs, like memory/buffer related bugs, dead code (unreachable branches), etc. with build 93, I found out some issues for UTBot
- CPP-example, tests can be generated for triangle.cpp, but there is no coverage generated when run the test
- same issue for C-example. the error message is: There are no covered lines, Maybe some of the test were aborted.
Add constructor for triangle:
Triangle::Triangle(std::initializer_list<Point_2d> points) {
std::vector<Point_2d> p(points);
vertex[0] = p[0];
vertex[1] = p[1];
vertex[2] = p[2];
}