From c77dc245bbd9cadd5ce06ba3e9ea07dd32ea2271 Mon Sep 17 00:00:00 2001
From: someone <jan@jvales.net>
Date: Tue, 5 Jun 2012 20:57:30 +0200
Subject: [PATCH] connect testcases

---
 connect.test1.dl |  1 +
 connect.test2.dl | 11 +++++++++++
 connect.test3.dl | 11 +++++++++++
 connect.test4.dl | 11 +++++++++++
 connect.test5.dl | 11 +++++++++++
 connect.test6.dl | 11 +++++++++++
 6 files changed, 56 insertions(+)

diff --git a/connect.test1.dl b/connect.test1.dl
index 5cd29ff..43a55a0 100644
--- a/connect.test1.dl
+++ b/connect.test1.dl
@@ -8,3 +8,4 @@ in_c(l_current,20).
 in_p(p_in,20).
 
 expect_out_p(p_out,45).
+
diff --git a/connect.test2.dl b/connect.test2.dl
index e69de29..de26c3f 100644
--- a/connect.test2.dl
+++ b/connect.test2.dl
@@ -0,0 +1,11 @@
+% testing the whole system.
+% predefined test
+
+in_c(s_storage,full).
+in_c(s_wind,10).
+in_c(l_demand,25).
+in_c(l_current,20).
+in_p(p_in,20).
+
+expect_out_p(p_out,25).
+
diff --git a/connect.test3.dl b/connect.test3.dl
index e69de29..34d2bf7 100644
--- a/connect.test3.dl
+++ b/connect.test3.dl
@@ -0,0 +1,11 @@
+% testing the whole system.
+% predefined test
+
+in_c(s_storage,full).
+in_c(s_wind,10).
+in_c(l_demand,85).
+in_c(l_current,20).
+in_p(p_in,20).
+
+expect_out_p(p_out,85).
+
diff --git a/connect.test4.dl b/connect.test4.dl
index e69de29..a150c99 100644
--- a/connect.test4.dl
+++ b/connect.test4.dl
@@ -0,0 +1,11 @@
+% testing the whole system.
+% noop
+
+in_c(s_storage,full).
+in_c(s_wind,10).
+in_c(l_demand,0).
+in_c(l_current,20).
+in_p(p_in,20).
+
+expect_out_p(p_out,20).
+
diff --git a/connect.test5.dl b/connect.test5.dl
index e69de29..280a5e4 100644
--- a/connect.test5.dl
+++ b/connect.test5.dl
@@ -0,0 +1,11 @@
+% testing the whole system.
+% predefined test
+
+in_c(s_storage,empty).
+in_c(s_wind,10).
+in_c(l_demand,0).
+in_c(l_current,20).
+in_p(p_in,20).
+
+expect_out_p(p_out,0).
+
diff --git a/connect.test6.dl b/connect.test6.dl
index e69de29..6fb8633 100644
--- a/connect.test6.dl
+++ b/connect.test6.dl
@@ -0,0 +1,11 @@
+% testing the whole system.
+% no wind, no stored water, big demand
+
+in_c(s_storage,empty).
+in_c(s_wind,0).
+in_c(l_demand,90).
+in_c(l_current,20).
+in_p(p_in,20).
+
+expect_out_p(p_out,80).
+
-- 
2.43.0