Commit dd014056 authored by David's avatar David
Browse files

test(RunModel.Supervisor): add test with disordered Diversion nodes

Refs #126
Showing with 1 addition and 0 deletions
+1 -0
...@@ -89,6 +89,7 @@ test_that("RunModel.Supervisor with diversion node should not produce NAs", { ...@@ -89,6 +89,7 @@ test_that("RunModel.Supervisor with diversion node should not produce NAs", {
length = 25, length = 25,
model = "Diversion", model = "Diversion",
area = NA)) area = NA))
nodes_div <- nodes_div[order(nodes_div$model), ]
g_div <- CreateGRiwrm(nodes_div) g_div <- CreateGRiwrm(nodes_div)
Qobs2 <- matrix(data = rep(0, length(DatesR)), ncol = 1) Qobs2 <- matrix(data = rep(0, length(DatesR)), ncol = 1)
colnames(Qobs2) <- "54001" colnames(Qobs2) <- "54001"
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment