Skip to content

Commit

Permalink
Don't check flow cost
Browse files Browse the repository at this point in the history
  • Loading branch information
Jingru923 committed Feb 13, 2024
1 parent 7d6ea22 commit 96e5b5e
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions core/test/allocation_test.jl
Original file line number Diff line number Diff line change
Expand Up @@ -124,10 +124,6 @@ end

@test objective.terms[F_abs[NodeID(:User, 5)]] == 1.0
@test objective.terms[F_abs[NodeID(:User, 6)]] == 1.0
@test objective.terms[F[(NodeID(:Basin, 4), NodeID(:User, 6))]] 0.125
@test objective.terms[F[(NodeID(:FlowBoundary, 1), NodeID(:Basin, 2))]] 0.125
@test objective.terms[F[(NodeID(:Basin, 4), NodeID(:User, 5))]] 0.125
@test objective.terms[F[(NodeID(:Basin, 2), NodeID(:Basin, 4))]] 0.125
end

@testitem "Allocation linear relative" begin
Expand All @@ -152,11 +148,6 @@ end

@test objective.terms[F_abs[NodeID(:User, 5)]] == 1.0
@test objective.terms[F_abs[NodeID(:User, 6)]] == 1.0
@test objective.terms[F[(NodeID(:Basin, 4), NodeID(:User, 6))]] 62.585499316005475
@test objective.terms[F[(NodeID(:FlowBoundary, 1), NodeID(:Basin, 2))]]
62.585499316005475
@test objective.terms[F[(NodeID(:Basin, 4), NodeID(:User, 5))]] 62.585499316005475
@test objective.terms[F[(NodeID(:Basin, 2), NodeID(:Basin, 4))]] 62.585499316005475
end

@testitem "Allocation with controlled fractional flow" begin
Expand Down

0 comments on commit 96e5b5e

Please sign in to comment.