Skip to content

Commit

Permalink
changed name of the objective function unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Jingru923 committed Feb 13, 2024
1 parent d5b0cae commit 5d554fe
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions core/test/allocation_test.jl
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
@test Ribasim.get_user_demand(user, NodeID(:User, 11), 2) π
end

@testitem "Allocation quadratic absolute" skip = true begin
@testitem "Allocation objective: quadratic absolute" skip = true begin
using DataFrames: DataFrame
using SciMLBase: successful_retcode
using Ribasim: NodeID
Expand All @@ -74,7 +74,7 @@ end
) in keys(objective.terms) # F[4,6]^2 term
end

@testitem "Allocation quadratic relative" begin
@testitem "Allocation objective: quadratic relative" begin
using DataFrames: DataFrame
using SciMLBase: successful_retcode
using Ribasim: NodeID
Expand Down Expand Up @@ -102,7 +102,7 @@ end
) in keys(objective.terms) # F[4,6]^2 term
end

@testitem "Allocation linear absolute" begin
@testitem "Allocation objective: linear absolute" begin
using DataFrames: DataFrame
using SciMLBase: successful_retcode
using Ribasim: NodeID
Expand All @@ -126,7 +126,7 @@ end
@test objective.terms[F_abs[NodeID(:User, 6)]] == 1.0
end

@testitem "Allocation linear relative" begin
@testitem "Allocation objective: linear relative" begin
using DataFrames: DataFrame
using SciMLBase: successful_retcode
using Ribasim: NodeID
Expand Down

0 comments on commit 5d554fe

Please sign in to comment.