Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
SouthEndMusic committed May 8, 2024
1 parent da045ce commit 30cbbf4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/test/validation_test.jl
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ end
graph[NodeID(:Pump, 6)] = NodeMetadata(:pump, 9)

function set_edge_metadata!(id_1, id_2, edge_type)
graph[id_1, id_2] = EdgeMetadata(0, 0, edge_type, 0, (id_1, id_2))
graph[id_1, id_2] = EdgeMetadata(0, 0, edge_type, 0, (id_1, id_2), (0, 0))
return nothing
end

Expand Down Expand Up @@ -163,7 +163,7 @@ end
graph[NodeID(:Basin, 7)] = NodeMetadata(:basin, 0)

function set_edge_metadata!(id_1, id_2, edge_type)
graph[id_1, id_2] = EdgeMetadata(0, 0, edge_type, 0, (id_1, id_2))
graph[id_1, id_2] = EdgeMetadata(0, 0, edge_type, 0, (id_1, id_2), (0, 0))
return nothing
end

Expand Down

0 comments on commit 30cbbf4

Please sign in to comment.