Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jd-lara committed Sep 5, 2023
1 parent 5dd8142 commit 8b1c7e6
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions test/test_basic_model_structs.jl
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,13 @@ end
component_type = RenewableDispatch,
source = ActivePowerVariable,
affected_values = [ActivePowerVariable],
add_slacks = true,
),
LowerBoundFeedforward(;
component_type = RenewableDispatch,
source = ActivePowerVariable,
affected_values = [ActivePowerVariable],
add_slacks = true,
),
SemiContinuousFeedforward(;
component_type = ThermalMultiStart,
Expand Down Expand Up @@ -69,14 +71,14 @@ end
component_type = RenewableDispatch,
source = ActivePowerVariable,
affected_values = [OnStatusParameter],
use_slacks = true,
add_slacks = true,
)

@test_throws ErrorException LowerBoundFeedforward(
component_type = RenewableDispatch,
source = ActivePowerVariable,
affected_values = [OnStatusParameter],
use_slacks = true,
add_slacks = true,
)

@test_throws ErrorException SemiContinuousFeedforward(
Expand Down

0 comments on commit 8b1c7e6

Please sign in to comment.