Skip to content

Failed test bash -c "./test 5 3" #288

@github-actions

Description

@github-actions

This issue is generated by Vulcan for commit: 5e09783

Coverage: 79.75 percent

Click here for a list of target sources

src/BranchChecker.c

There is(are) 1/4 failed test(s)

Click here for the failed test commands
  1. [FAILED] bash -c "./test 5 3"

Click here for FL information

Clicking on the link, you take the page with code highlighted.

Click here for more FL

Suspicious score: 1.00

y = (y2 - y1) * (x_max - x1) / (x2 - x1) + x1;


Suspicious score: 1.00


Suspicious score: 0.50


Suspicious score: 0.50


3 patch(es) generaetd by vulcan

plausible patch diff info
--- __backup0	2022-08-01 09:15:32.047366769 +0000
+++ src/BranchChecker.c	2022-08-01 09:21:48.982261592 +0000
@@ -114,7 +114,9 @@
             else if (code_out & RIGHT) {
-                y = (y2 - y1) * (x_max - x1) / (x2 - x1) + x1;
+                y = (y2 - y1) * (x_max - x1) / (x2 - x1) + (rectangle1);
+;
+
                 x = x_max;
             }
             else if (code_out & LEFT) {

--- __backup0	2022-08-01 09:15:32.047366769 +0000
+++ src/BranchChecker.c	2022-08-01 09:21:48.994261709 +0000
@@ -114,7 +114,9 @@
             else if (code_out & RIGHT) {
-                y = (y2 - y1) * (x_max - x1) / (x2 - x1) + x1;
+                y = (y2 - y1) * (x_max - x1) / (x2 - x1) + (y1);
+;
+
                 x = x_max;
             }
             else if (code_out & LEFT) {

--- __backup0	2022-08-01 09:15:32.047366769 +0000
+++ src/BranchChecker.c	2022-08-01 09:21:48.986261631 +0000
@@ -114,7 +114,9 @@
             else if (code_out & RIGHT) {
-                y = (y2 - y1) * (x_max - x1) / (x2 - x1) + x1;
+                y = (y2 - y1) * (x_max - x1) / (x2 - x1) + (y);
+;
+
                 x = x_max;
             }
             else if (code_out & LEFT) {

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions