Skip to content

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

@github-actions

Description

@github-actions

This issue is generated by Vulcan for commit: d3c112a

Coverage: 81.61 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 = (dy2 - dy1) * (x_max - dx1) / (dx2 - dx1) + dx1;


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 23:36:24.274055828 +0000
+++ src/BranchChecker.c	2022-08-01 23:48:40.579549659 +0000
@@ -124,7 +124,9 @@
             else if (code_out & RIGHT) {
-                y = (dy2 - dy1) * (x_max - dx1) / (dx2 - dx1) + dx1;
+                y = (dy2 - dy1) * (x_max - dx1) / (dx2 - dx1) + (dr1);
+1;
+
                 x = x_max;
             }
             else if (code_out & LEFT) {

--- __backup0	2022-08-01 23:36:24.274055828 +0000
+++ src/BranchChecker.c	2022-08-01 23:48:40.583549729 +0000
@@ -124,7 +124,9 @@
             else if (code_out & RIGHT) {
-                y = (dy2 - dy1) * (x_max - dx1) / (dx2 - dx1) + dx1;
+                y = (dy2 - dy1) * (x_max - dx1) / (dx2 - dx1) + (dy1);
+1;
+
                 x = x_max;
             }
             else if (code_out & LEFT) {

--- __backup0	2022-08-01 23:36:24.274055828 +0000
+++ src/BranchChecker.c	2022-08-01 23:48:40.591549867 +0000
@@ -124,7 +124,9 @@
             else if (code_out & RIGHT) {
-                y = (dy2 - dy1) * (x_max - dx1) / (dx2 - dx1) + dx1;
+                y = (dy2 - dy1) * (x_max - dx1) / (dx2 - dx1) + (y);
+1;
+
                 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