solstice

Compute collected power and efficiencies of a solar plant
git clone git://git.meso-star.com/solstice.git
Log | Files | Refs | README | LICENSE

commit 2f9ad38abd20d4c8a65087243d76961dfdd3b5ce
parent 23955f7ba8f0cefef9dc435ab0c5aaa7bb222c6d
Author: Christophe Coustet <christophe.coustet@meso-star.com>
Date:   Mon, 16 Jan 2017 15:03:56 +0100

Remove now useless test_ko 1 & 2.

Diffstat:
Mcmake/parser/CMakeLists.txt | 4----
Dsrc/parser/yaml/test_ko_1.yaml | 143-------------------------------------------------------------------------------
Dsrc/parser/yaml/test_ko_2.yaml | 30------------------------------
3 files changed, 0 insertions(+), 177 deletions(-)

diff --git a/cmake/parser/CMakeLists.txt b/cmake/parser/CMakeLists.txt @@ -78,10 +78,6 @@ if(NOT NO_TEST) ${SOLPARSER_SOURCE_DIR}/yaml/test_ok_3.yaml) add_test(test_solstice_parser_ko_0 test_solparser -e ${SOLPARSER_SOURCE_DIR}/yaml/test_ko_0.yaml) - add_test(test_solstice_parser_ko_1 test_solparser -e - ${SOLPARSER_SOURCE_DIR}/yaml/test_ko_1.yaml) - add_test(test_solstice_parser_ko_2 test_solparser -e - ${SOLPARSER_SOURCE_DIR}/yaml/test_ko_2.yaml) new_test(test_solparser2) new_test(test_solparser3) diff --git a/src/parser/yaml/test_ko_1.yaml b/src/parser/yaml/test_ko_1.yaml @@ -1,143 +0,0 @@ -- instance: - object: - material: { mirror: { reflectivity: 1.1, roughness: 0 } } - cylinder: { height: 1, radius: 1 } ---- -- instance: - object: - material: { mirror: { reflectivity: -0.1, roughness: 0 } } - cylinder: { height: 1, radius: 1 } ---- -- instance: - object: - material: { mirror: { reflectivity: 0, roughness: -0.1 } } - cylinder: { height: 1, radius: 1 } ---- -- instance: - object: - material: { mirror: { reflectivity: 0, roughness: 1.000001 } } - cylinder: { height: 1, radius: 1 } ---- -- material: &mirror - mirror: - reflectivity: 0 - reflectivity: 1 - roughness: 0 -- instance: - object: - material: *mirror - cylinder: { height: 1, radius: 1 } ---- -- material: &mirror - mirror: - reflectivity: 1 - roughness: 0 - roughness: 1 -- instance: - object: - material: *mirror - cylinder: { height: 1, radius: 1 } ---- -- material: &mirror - mirror: - reflectivity: - roughness: 1 -- instance: - object: - material: *mirror - cylinder: { height: 1, radius: 1 } ---- -- material: &mirror - mirror: - reflectivity: 1 - roughness: -- instance: - object: - material: *mirror - cylinder: { height: 1, radius: 1 } ---- -- material: &mirror - mirror: - reflectivity: 1 -- instance: - object: - material: *mirror - cylinder: { height: 1, radius: 1 } ---- -- material: &mirror - mirror: - roughness: 0 -- instance: - object: - material: *mirror - cylinder: { height: 1, radius: 1 } ---- -- instance: - object: - material: { mirror: { reflectivity: 1, roughness: 0 } } - cylinder: { height: -0.1, radius: 1 } ---- -- instance: - object: - material: { mirror: { reflectivity: 1, roughness: 0 } } - cylinder: { height: 1, radius: -0.00001 } ---- -- instance: - object: - material: { mirror: { reflectivity: 1, roughness: 0 } } - cylinder: { height: 1, radius: 1, slices: 2 } ---- -- instance: - object: - material: { mirror: { reflectivity: 1, roughness: 0 } } - cylinder: - radius: 1 - slices: 4 ---- -- instance: - object: - material: { mirror: { reflectivity: 1, roughness: 0 } } - cylinder: - height: - radius: 1 ---- -- instance: - object: - material: { mirror: { reflectivity: 1, roughness: 0 } } - cylinder: - height: 1 - radius: ---- -- instance: - object: - material: { mirror: { reflectivity: 1, roughness: 0 } } - cylinder: - height: 1 - radius: 1 - slices: ---- -- instance: - object: - material: { mirror: } - cylinder: { height: 1, radius: 1 } ---- -- instance: - object: - material: - cylinder: { height: 1, radius: 1 } ---- -- instance: - object: - material: { mirror: { reflectivity: 1, roughness: 0 } } - cylinder: ---- -- instance: - object: - material: { mirror: { reflectivity: 1, roughness: 0, dummy: "none" } } - cylinder: { height: 1, radius: 1 } ---- -- instance: - object: - material: { mirror: { reflectivity: 1, roughness: 0 } } - cylinder: { height: 1, radius: 1, dummy: 3.14 } - diff --git a/src/parser/yaml/test_ko_2.yaml b/src/parser/yaml/test_ko_2.yaml @@ -1,30 +0,0 @@ -- instance: - object: - material: { matte: { reflectivity: 1 } } - obj: { path: } ---- -- instance: - object: - material: { matte: { reflectivity: 1 } } - obj: { path: "my_path", dummy: 1 } ---- -- instance: - object: - material: { matte: { reflectivity: 1 } } - obj: ---- -- instance: - object: - material: { matte: { reflectivity: 1 } } - stl: { path: } ---- -- instance: - object: - material: { matte: { reflectivity: 1 } } - stl: { path: "my_path", dummy: 1 } ---- -- instance: - object: - material: { matte: { reflectivity: 1 } } - stl: -