Skip to content

Commit

Permalink
Fix test - should test that sites which are both in and sources to a …
Browse files Browse the repository at this point in the history
…priority zone have the highest criteria value
  • Loading branch information
Rosejoycrocker committed Jan 10, 2024
1 parent ce2b053 commit d9a4cba
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/mcda.jl
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,6 @@ end
)[1] == 1 ||
"Strongest predecessor site to priority zone in non-priority zone should have smallest non-zero value."

@test all(findall(priority_zones_crit .== maximum(priority_zones_crit)) == [4, 8]) ||
"Highest priority zone sites should have highest value in the zone criteria."
@test findall(priority_zones_crit .== maximum(priority_zones_crit)) == [5] ||
"Sites which are high priority zones and sources to high priority zones should have the highest zone criteria value."
end

0 comments on commit d9a4cba

Please sign in to comment.