diff --git a/test/opf-var.jl b/test/opf-var.jl index c5c6211e..fbb90c2b 100644 --- a/test/opf-var.jl +++ b/test/opf-var.jl @@ -646,7 +646,7 @@ end @test switch_status_total <= 13.000 && switch_status_total >= 10.000 # 1 to 4 swtiches off branch_status_total = sum(branch["br_status"] for (i,branch) in result["solution"]["branch"]) - @test branch_status_total >= 5.0 && branch_status_total <= 7.0 # zero-two branches off + @test branch_status_total >= 4.9999 && branch_status_total <= 7.0001 # zero-two branches off end end