From bec2a41c3fce4a8e1c6f57ae2738e9ce86c530f3 Mon Sep 17 00:00:00 2001 From: someone Date: Tue, 5 Jun 2012 21:10:14 +0200 Subject: [PATCH] more connect tests --- connect.test7.dl | 11 +++++++++++ connect.test8.dl | 11 +++++++++++ connect.test9.dl | 11 +++++++++++ 3 files changed, 33 insertions(+) diff --git a/connect.test7.dl b/connect.test7.dl index e69de29..446f2ac 100644 --- a/connect.test7.dl +++ b/connect.test7.dl @@ -0,0 +1,11 @@ +% testing the whole system. +% no nothing + +in_c(s_storage,empty). +in_c(s_wind,0). +in_c(l_demand,0). +in_c(l_current,0). +in_p(p_in,0). + +expect_out_p(p_out,0). + diff --git a/connect.test8.dl b/connect.test8.dl index e69de29..124049b 100644 --- a/connect.test8.dl +++ b/connect.test8.dl @@ -0,0 +1,11 @@ +% testing the whole system. +% wind, full, nothing else + +in_c(s_storage,half_empty). +in_c(s_wind,10). +in_c(l_demand,0). +in_c(l_current,0). +in_p(p_in,0). + +expect_out_p(p_out,0). + diff --git a/connect.test9.dl b/connect.test9.dl index e69de29..bc1a31b 100644 --- a/connect.test9.dl +++ b/connect.test9.dl @@ -0,0 +1,11 @@ +% testing the whole system. +% full output. + +in_c(s_storage,half_full). +in_c(s_wind,10). +in_c(l_demand,100). +in_c(l_current,0). +in_p(p_in,0). + +expect_out_p(p_out,95). + -- 2.43.0