connect testcases
authorsomeone <jan@jvales.net>
Tue, 5 Jun 2012 18:57:30 +0000 (20:57 +0200)
committersomeone <jan@jvales.net>
Tue, 5 Jun 2012 18:57:30 +0000 (20:57 +0200)
connect.test1.dl
connect.test2.dl
connect.test3.dl
connect.test4.dl
connect.test5.dl
connect.test6.dl

index 5cd29ff226e47df894037536c0ae0a498ec77138..43a55a013a70d08773116bfe2b020a6f5a333131 100644 (file)
@@ -8,3 +8,4 @@ in_c(l_current,20).
 in_p(p_in,20).
 
 expect_out_p(p_out,45).
+
index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..de26c3fb07964a71b717d4273691502fadf6d84b 100644 (file)
@@ -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).
+
index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..34d2bf77362bf7b306c0c16aa34086d4932c84d9 100644 (file)
@@ -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).
+
index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..a150c99d9cdcfc6d4c93df2c94be15ba48f25ef5 100644 (file)
@@ -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).
+
index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..280a5e43797928af7aae3906687685de25b52de6 100644 (file)
@@ -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).
+
index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..6fb8633143b02daf6a863afe74c83b607fda7cc3 100644 (file)
@@ -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).
+