diff --git a/build/test/cache/test_viereckUmfang.c b/build/test/cache/test_viereckUmfang.c new file mode 100644 index 0000000..ca6bf71 --- /dev/null +++ b/build/test/cache/test_viereckUmfang.c @@ -0,0 +1,39 @@ +#include "src/funktion.h" +#include "C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/ceedling-0.31.1/vendor/unity/src/unity.h" + + + + +void setUp(void) + +{ + +} + + + +void tearDown(void) + +{ + +} + + + +void test_viereckUmfang_NeedToImplement(void) { + + double a = 4; + + double b = 7; + + double result = viereckUmfang(a, b); + + double ergebnis = (2 * a) + (2 * b); + + UnityAssertFloatsWithin((UNITY_FLOAT)((UNITY_FLOAT)((ergebnis)) * (UNITY_FLOAT)(0.00001f)), (UNITY_FLOAT)((UNITY_FLOAT)((ergebnis))), (UNITY_FLOAT)((UNITY_FLOAT)((result))), (( + + ((void *)0) + + )), (UNITY_UINT)((UNITY_UINT)(18))); + +} diff --git a/build/test/dependencies/test_viereckUmfang.d b/build/test/dependencies/test_viereckUmfang.d new file mode 100644 index 0000000..cf243e3 --- /dev/null +++ b/build/test/dependencies/test_viereckUmfang.d @@ -0,0 +1,4 @@ +build/test/out/c/test_viereckUmfang.o: test/test_viereckUmfang.c \ + C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/ceedling-0.31.1/vendor/unity/src/unity.h \ + C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/ceedling-0.31.1/vendor/unity/src/unity_internals.h \ + src/funktion.h diff --git a/build/test/dependencies/test_viereckUmfang_runner.d b/build/test/dependencies/test_viereckUmfang_runner.d new file mode 100644 index 0000000..09556a6 --- /dev/null +++ b/build/test/dependencies/test_viereckUmfang_runner.d @@ -0,0 +1,4 @@ +build/test/out/c/test_viereckUmfang_runner.o: \ + build/test/runners/test_viereckUmfang_runner.c \ + C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/ceedling-0.31.1/vendor/unity/src/unity.h \ + C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/ceedling-0.31.1/vendor/unity/src/unity_internals.h diff --git a/build/test/out/c/funktion.o b/build/test/out/c/funktion.o index c24654b..5509aa5 100644 Binary files a/build/test/out/c/funktion.o and b/build/test/out/c/funktion.o differ diff --git a/build/test/out/c/test_viereckUmfang.o b/build/test/out/c/test_viereckUmfang.o new file mode 100644 index 0000000..e5aa4ea Binary files /dev/null and b/build/test/out/c/test_viereckUmfang.o differ diff --git a/build/test/out/c/test_viereckUmfang_runner.o b/build/test/out/c/test_viereckUmfang_runner.o new file mode 100644 index 0000000..c198631 Binary files /dev/null and b/build/test/out/c/test_viereckUmfang_runner.o differ diff --git a/build/test/out/test_Akkortrichtsatz.out b/build/test/out/test_Akkortrichtsatz.out index 90e757e..9e23ddd 100755 Binary files a/build/test/out/test_Akkortrichtsatz.out and b/build/test/out/test_Akkortrichtsatz.out differ diff --git a/build/test/out/test_Anlagenabnutzungsgrad.out b/build/test/out/test_Anlagenabnutzungsgrad.out index 3309a7c..ecf64ef 100755 Binary files a/build/test/out/test_Anlagenabnutzungsgrad.out and b/build/test/out/test_Anlagenabnutzungsgrad.out differ diff --git a/build/test/out/test_Anlagenintensitaet.out b/build/test/out/test_Anlagenintensitaet.out index ca47951..5ccc03d 100755 Binary files a/build/test/out/test_Anlagenintensitaet.out and b/build/test/out/test_Anlagenintensitaet.out differ diff --git a/build/test/out/test_Anlagenproduktivitaet.out b/build/test/out/test_Anlagenproduktivitaet.out index d962160..9885668 100755 Binary files a/build/test/out/test_Anlagenproduktivitaet.out and b/build/test/out/test_Anlagenproduktivitaet.out differ diff --git a/build/test/out/test_Arbeitsproduktivitaet.out b/build/test/out/test_Arbeitsproduktivitaet.out index f877e68..a0e90e0 100755 Binary files a/build/test/out/test_Arbeitsproduktivitaet.out and b/build/test/out/test_Arbeitsproduktivitaet.out differ diff --git a/build/test/out/test_Cashflow_zu_Gesamtkapital.out b/build/test/out/test_Cashflow_zu_Gesamtkapital.out index 2a95e46..b90271d 100755 Binary files a/build/test/out/test_Cashflow_zu_Gesamtkapital.out and b/build/test/out/test_Cashflow_zu_Gesamtkapital.out differ diff --git a/build/test/out/test_Dynamische_Amortisationszeit.out b/build/test/out/test_Dynamische_Amortisationszeit.out index c55431e..fe23fe0 100755 Binary files a/build/test/out/test_Dynamische_Amortisationszeit.out and b/build/test/out/test_Dynamische_Amortisationszeit.out differ diff --git a/build/test/out/test_Effektivverzinsung.out b/build/test/out/test_Effektivverzinsung.out index fbea2e7..229f2fa 100755 Binary files a/build/test/out/test_Effektivverzinsung.out and b/build/test/out/test_Effektivverzinsung.out differ diff --git a/build/test/out/test_Finanzierungsregeln.out b/build/test/out/test_Finanzierungsregeln.out index 82eb6e4..98baa3f 100755 Binary files a/build/test/out/test_Finanzierungsregeln.out and b/build/test/out/test_Finanzierungsregeln.out differ diff --git a/build/test/out/test_GewinnMaximum.out b/build/test/out/test_GewinnMaximum.out index 911d6f2..ac1ed49 100755 Binary files a/build/test/out/test_GewinnMaximum.out and b/build/test/out/test_GewinnMaximum.out differ diff --git a/build/test/out/test_Kalkulatorische_Zinsen.out b/build/test/out/test_Kalkulatorische_Zinsen.out index f594a2c..3a772a0 100755 Binary files a/build/test/out/test_Kalkulatorische_Zinsen.out and b/build/test/out/test_Kalkulatorische_Zinsen.out differ diff --git a/build/test/out/test_Kritische_Menge.out b/build/test/out/test_Kritische_Menge.out index b2072cb..b92b465 100755 Binary files a/build/test/out/test_Kritische_Menge.out and b/build/test/out/test_Kritische_Menge.out differ diff --git a/build/test/out/test_Stueckzeitakkort.out b/build/test/out/test_Stueckzeitakkort.out index 28f5804..217ac04 100755 Binary files a/build/test/out/test_Stueckzeitakkort.out and b/build/test/out/test_Stueckzeitakkort.out differ diff --git a/build/test/out/test_Vadd.out b/build/test/out/test_Vadd.out index cdcd09e..5137267 100755 Binary files a/build/test/out/test_Vadd.out and b/build/test/out/test_Vadd.out differ diff --git a/build/test/out/test_Vaddx2.out b/build/test/out/test_Vaddx2.out index 95f5fcb..a36feb4 100755 Binary files a/build/test/out/test_Vaddx2.out and b/build/test/out/test_Vaddx2.out differ diff --git a/build/test/out/test_Vaddx3.out b/build/test/out/test_Vaddx3.out index 0b2fe37..688e6dd 100755 Binary files a/build/test/out/test_Vaddx3.out and b/build/test/out/test_Vaddx3.out differ diff --git a/build/test/out/test_Vangle.out b/build/test/out/test_Vangle.out index adacc70..87b81fd 100755 Binary files a/build/test/out/test_Vangle.out and b/build/test/out/test_Vangle.out differ diff --git a/build/test/out/test_Vlength.out b/build/test/out/test_Vlength.out index da3b1d6..a6603f5 100755 Binary files a/build/test/out/test_Vlength.out and b/build/test/out/test_Vlength.out differ diff --git a/build/test/out/test_Vmiddle.out b/build/test/out/test_Vmiddle.out index 379c470..07ccd79 100755 Binary files a/build/test/out/test_Vmiddle.out and b/build/test/out/test_Vmiddle.out differ diff --git a/build/test/out/test_Vmiddle2.out b/build/test/out/test_Vmiddle2.out index 53bbcd0..63460dd 100755 Binary files a/build/test/out/test_Vmiddle2.out and b/build/test/out/test_Vmiddle2.out differ diff --git a/build/test/out/test_Vmiddle3.out b/build/test/out/test_Vmiddle3.out index c7a28c9..e504d4b 100755 Binary files a/build/test/out/test_Vmiddle3.out and b/build/test/out/test_Vmiddle3.out differ diff --git a/build/test/out/test_Vmultiplier.out b/build/test/out/test_Vmultiplier.out index 0a98d8a..7071ee1 100755 Binary files a/build/test/out/test_Vmultiplier.out and b/build/test/out/test_Vmultiplier.out differ diff --git a/build/test/out/test_Vmultiplier2.out b/build/test/out/test_Vmultiplier2.out index 4152558..42cd8f4 100755 Binary files a/build/test/out/test_Vmultiplier2.out and b/build/test/out/test_Vmultiplier2.out differ diff --git a/build/test/out/test_Vmultiplier3.out b/build/test/out/test_Vmultiplier3.out index bd59201..7b56e28 100755 Binary files a/build/test/out/test_Vmultiplier3.out and b/build/test/out/test_Vmultiplier3.out differ diff --git a/build/test/out/test_Vparallel.out b/build/test/out/test_Vparallel.out index bfb642f..8fa7987 100755 Binary files a/build/test/out/test_Vparallel.out and b/build/test/out/test_Vparallel.out differ diff --git a/build/test/out/test_Vshift.out b/build/test/out/test_Vshift.out index 412bbd3..5e08a6b 100755 Binary files a/build/test/out/test_Vshift.out and b/build/test/out/test_Vshift.out differ diff --git a/build/test/out/test_Vskalort.out b/build/test/out/test_Vskalort.out index 5c25c4a..63ab530 100755 Binary files a/build/test/out/test_Vskalort.out and b/build/test/out/test_Vskalort.out differ diff --git a/build/test/out/test_Vsubstract.out b/build/test/out/test_Vsubstract.out index fee9f48..00053bb 100755 Binary files a/build/test/out/test_Vsubstract.out and b/build/test/out/test_Vsubstract.out differ diff --git a/build/test/out/test_Vsubstract2.out b/build/test/out/test_Vsubstract2.out index bebc698..5a9d2c5 100755 Binary files a/build/test/out/test_Vsubstract2.out and b/build/test/out/test_Vsubstract2.out differ diff --git a/build/test/out/test_Vsubstract3.out b/build/test/out/test_Vsubstract3.out index c356f37..f55181d 100755 Binary files a/build/test/out/test_Vsubstract3.out and b/build/test/out/test_Vsubstract3.out differ diff --git a/build/test/out/test_Zeitlohn.out b/build/test/out/test_Zeitlohn.out index a16d411..f51eaad 100755 Binary files a/build/test/out/test_Zeitlohn.out and b/build/test/out/test_Zeitlohn.out differ diff --git a/build/test/out/test_angebotserfolg.out b/build/test/out/test_angebotserfolg.out index fc9e80d..3efb8c3 100755 Binary files a/build/test/out/test_angebotserfolg.out and b/build/test/out/test_angebotserfolg.out differ diff --git a/build/test/out/test_binomial_coefficient.out b/build/test/out/test_binomial_coefficient.out index c671620..d2551cd 100755 Binary files a/build/test/out/test_binomial_coefficient.out and b/build/test/out/test_binomial_coefficient.out differ diff --git a/build/test/out/test_boolesche_nicht.out b/build/test/out/test_boolesche_nicht.out index 10b1a64..8743c4d 100644 Binary files a/build/test/out/test_boolesche_nicht.out and b/build/test/out/test_boolesche_nicht.out differ diff --git a/build/test/out/test_boolesche_oder.out b/build/test/out/test_boolesche_oder.out index 57ab623..188651b 100644 Binary files a/build/test/out/test_boolesche_oder.out and b/build/test/out/test_boolesche_oder.out differ diff --git a/build/test/out/test_boolesche_und.out b/build/test/out/test_boolesche_und.out index 289bd08..91e2c4d 100644 Binary files a/build/test/out/test_boolesche_und.out and b/build/test/out/test_boolesche_und.out differ diff --git a/build/test/out/test_dezimal_binar_linksverschiebung.out b/build/test/out/test_dezimal_binar_linksverschiebung.out index 8ab0ea4..c4a9498 100644 Binary files a/build/test/out/test_dezimal_binar_linksverschiebung.out and b/build/test/out/test_dezimal_binar_linksverschiebung.out differ diff --git a/build/test/out/test_dezimal_binar_rechtsverschiebung.out b/build/test/out/test_dezimal_binar_rechtsverschiebung.out index db23efb..a0cb609 100644 Binary files a/build/test/out/test_dezimal_binar_rechtsverschiebung.out and b/build/test/out/test_dezimal_binar_rechtsverschiebung.out differ diff --git a/build/test/out/test_dezimal_to_bin.out b/build/test/out/test_dezimal_to_bin.out index aed067f..7e0fc6a 100644 Binary files a/build/test/out/test_dezimal_to_bin.out and b/build/test/out/test_dezimal_to_bin.out differ diff --git a/build/test/out/test_dreieckFlaeche.out b/build/test/out/test_dreieckFlaeche.out index 5d0a45b..23ded3b 100644 Binary files a/build/test/out/test_dreieckFlaeche.out and b/build/test/out/test_dreieckFlaeche.out differ diff --git a/build/test/out/test_dreieckUmfang.out b/build/test/out/test_dreieckUmfang.out index 4d487e1..0ac8c47 100644 Binary files a/build/test/out/test_dreieckUmfang.out and b/build/test/out/test_dreieckUmfang.out differ diff --git a/build/test/out/test_eigenkapital_Rentabilitaeten.out b/build/test/out/test_eigenkapital_Rentabilitaeten.out index ae3120e..6560145 100755 Binary files a/build/test/out/test_eigenkapital_Rentabilitaeten.out and b/build/test/out/test_eigenkapital_Rentabilitaeten.out differ diff --git a/build/test/out/test_erloesfunktion.out b/build/test/out/test_erloesfunktion.out index 0648efb..e467312 100755 Binary files a/build/test/out/test_erloesfunktion.out and b/build/test/out/test_erloesfunktion.out differ diff --git a/build/test/out/test_gesamtkapital_Rentabilitaeten.out b/build/test/out/test_gesamtkapital_Rentabilitaeten.out index c693135..84af7b7 100755 Binary files a/build/test/out/test_gesamtkapital_Rentabilitaeten.out and b/build/test/out/test_gesamtkapital_Rentabilitaeten.out differ diff --git a/build/test/out/test_grenzGewinn.out b/build/test/out/test_grenzGewinn.out index 71bc9ca..a8f90c1 100755 Binary files a/build/test/out/test_grenzGewinn.out and b/build/test/out/test_grenzGewinn.out differ diff --git a/build/test/out/test_grundwert.out b/build/test/out/test_grundwert.out index 8a07995..4a5e79d 100644 Binary files a/build/test/out/test_grundwert.out and b/build/test/out/test_grundwert.out differ diff --git a/build/test/out/test_kreisFlaeche.out b/build/test/out/test_kreisFlaeche.out index b15b017..1b16b5e 100644 Binary files a/build/test/out/test_kreisFlaeche.out and b/build/test/out/test_kreisFlaeche.out differ diff --git a/build/test/out/test_kreisUmfang.out b/build/test/out/test_kreisUmfang.out index 39eba89..3029aac 100644 Binary files a/build/test/out/test_kreisUmfang.out and b/build/test/out/test_kreisUmfang.out differ diff --git a/build/test/out/test_marktanteil.out b/build/test/out/test_marktanteil.out index add56da..0b24aff 100755 Binary files a/build/test/out/test_marktanteil.out and b/build/test/out/test_marktanteil.out differ diff --git a/build/test/out/test_probability_from_tree.out b/build/test/out/test_probability_from_tree.out index 9763f21..a4b5f5a 100755 Binary files a/build/test/out/test_probability_from_tree.out and b/build/test/out/test_probability_from_tree.out differ diff --git a/build/test/out/test_prozentsatz.out b/build/test/out/test_prozentsatz.out index f513629..69220a8 100644 Binary files a/build/test/out/test_prozentsatz.out and b/build/test/out/test_prozentsatz.out differ diff --git a/build/test/out/test_prozentwert.out b/build/test/out/test_prozentwert.out index bea5b47..0fad939 100644 Binary files a/build/test/out/test_prozentwert.out and b/build/test/out/test_prozentwert.out differ diff --git a/build/test/out/test_trapezFlaeche.out b/build/test/out/test_trapezFlaeche.out index 80317b0..26ae477 100755 Binary files a/build/test/out/test_trapezFlaeche.out and b/build/test/out/test_trapezFlaeche.out differ diff --git a/build/test/out/test_vPunkt.out b/build/test/out/test_vPunkt.out index ff77f6d..6f17727 100755 Binary files a/build/test/out/test_vPunkt.out and b/build/test/out/test_vPunkt.out differ diff --git a/build/test/out/test_viereckFleache.out b/build/test/out/test_viereckFleache.out index 22c41a8..e40a90e 100644 Binary files a/build/test/out/test_viereckFleache.out and b/build/test/out/test_viereckFleache.out differ diff --git a/build/test/out/test_viereckUmfang.out b/build/test/out/test_viereckUmfang.out new file mode 100644 index 0000000..b4363ae Binary files /dev/null and b/build/test/out/test_viereckUmfang.out differ diff --git a/build/test/preprocess/files/test_viereckUmfang.c b/build/test/preprocess/files/test_viereckUmfang.c new file mode 100644 index 0000000..ca6bf71 --- /dev/null +++ b/build/test/preprocess/files/test_viereckUmfang.c @@ -0,0 +1,39 @@ +#include "src/funktion.h" +#include "C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/ceedling-0.31.1/vendor/unity/src/unity.h" + + + + +void setUp(void) + +{ + +} + + + +void tearDown(void) + +{ + +} + + + +void test_viereckUmfang_NeedToImplement(void) { + + double a = 4; + + double b = 7; + + double result = viereckUmfang(a, b); + + double ergebnis = (2 * a) + (2 * b); + + UnityAssertFloatsWithin((UNITY_FLOAT)((UNITY_FLOAT)((ergebnis)) * (UNITY_FLOAT)(0.00001f)), (UNITY_FLOAT)((UNITY_FLOAT)((ergebnis))), (UNITY_FLOAT)((UNITY_FLOAT)((result))), (( + + ((void *)0) + + )), (UNITY_UINT)((UNITY_UINT)(18))); + +} diff --git a/build/test/preprocess/includes/test_viereckUmfang.c b/build/test/preprocess/includes/test_viereckUmfang.c new file mode 100644 index 0000000..376e2c1 --- /dev/null +++ b/build/test/preprocess/includes/test_viereckUmfang.c @@ -0,0 +1,3 @@ +--- +- C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/ceedling-0.31.1/vendor/unity/src/unity.h +- src/funktion.h diff --git a/build/test/results/test_Akkortrichtsatz.pass b/build/test/results/test_Akkortrichtsatz.pass index 14a2b97..5720254 100644 --- a/build/test/results/test_Akkortrichtsatz.pass +++ b/build/test/results/test_Akkortrichtsatz.pass @@ -16,4 +16,4 @@ :ignored: 0 :stdout: - Testergebniss 552.000000 -:time: 0.028387099970132113 +:time: 0.5226240999763831 diff --git a/build/test/results/test_Anlagenabnutzungsgrad.pass b/build/test/results/test_Anlagenabnutzungsgrad.pass index 5ad350b..ce49a1a 100644 --- a/build/test/results/test_Anlagenabnutzungsgrad.pass +++ b/build/test/results/test_Anlagenabnutzungsgrad.pass @@ -16,4 +16,4 @@ :ignored: 0 :stdout: - Testergebniss 60.000000 -:time: 0.0290722000063397 +:time: 0.4330269999918528 diff --git a/build/test/results/test_Anlagenintensitaet.pass b/build/test/results/test_Anlagenintensitaet.pass index ff05627..1964566 100644 --- a/build/test/results/test_Anlagenintensitaet.pass +++ b/build/test/results/test_Anlagenintensitaet.pass @@ -16,4 +16,4 @@ :ignored: 0 :stdout: - Testergebniss 4878.048780 -:time: 0.45469570002751425 +:time: 0.390732100000605 diff --git a/build/test/results/test_Anlagenproduktivitaet.pass b/build/test/results/test_Anlagenproduktivitaet.pass index aedff93..2dff532 100644 --- a/build/test/results/test_Anlagenproduktivitaet.pass +++ b/build/test/results/test_Anlagenproduktivitaet.pass @@ -16,4 +16,4 @@ :ignored: 0 :stdout: - Testergebniss 18.203304 -:time: 0.3575611000414938 +:time: 0.38972999999532476 diff --git a/build/test/results/test_Arbeitsproduktivitaet.pass b/build/test/results/test_Arbeitsproduktivitaet.pass index c0bc45f..b0213fd 100644 --- a/build/test/results/test_Arbeitsproduktivitaet.pass +++ b/build/test/results/test_Arbeitsproduktivitaet.pass @@ -16,4 +16,4 @@ :ignored: 0 :stdout: - Testergebniss 60.000000 -:time: 0.3760984999826178 +:time: 0.3197080999962054 diff --git a/build/test/results/test_ByOne.pass b/build/test/results/test_ByOne.pass index f101884..20d3980 100644 --- a/build/test/results/test_ByOne.pass +++ b/build/test/results/test_ByOne.pass @@ -16,4 +16,4 @@ :ignored: 0 :stdout: - 'Das Ergebnis lautet: 2' -:time: 0.01862950000213459 +:time: 0.018726899987086654 diff --git a/build/test/results/test_Cashflow_zu_Gesamtkapital.pass b/build/test/results/test_Cashflow_zu_Gesamtkapital.pass index 876d2ce..9f441ff 100644 --- a/build/test/results/test_Cashflow_zu_Gesamtkapital.pass +++ b/build/test/results/test_Cashflow_zu_Gesamtkapital.pass @@ -16,4 +16,4 @@ :ignored: 0 :stdout: - Testergebniss 0.158038 -:time: 0.37930660002166405 +:time: 0.26579159998800606 diff --git a/build/test/results/test_Dynamische_Amortisationszeit.pass b/build/test/results/test_Dynamische_Amortisationszeit.pass index 66215a0..2b252c3 100644 --- a/build/test/results/test_Dynamische_Amortisationszeit.pass +++ b/build/test/results/test_Dynamische_Amortisationszeit.pass @@ -16,4 +16,4 @@ :ignored: 0 :stdout: - Testergebniss 189.421906 -:time: 0.3019077000208199 +:time: 0.3770436000195332 diff --git a/build/test/results/test_Effektivverzinsung.pass b/build/test/results/test_Effektivverzinsung.pass index d9475b9..f673b8a 100644 --- a/build/test/results/test_Effektivverzinsung.pass +++ b/build/test/results/test_Effektivverzinsung.pass @@ -16,4 +16,4 @@ :ignored: 0 :stdout: - Testergebniss 16.034390 -:time: 0.29374479997204617 +:time: 0.348319899989292 diff --git a/build/test/results/test_Finanzierungsregeln.pass b/build/test/results/test_Finanzierungsregeln.pass index d9acc99..cabd9d1 100644 --- a/build/test/results/test_Finanzierungsregeln.pass +++ b/build/test/results/test_Finanzierungsregeln.pass @@ -16,4 +16,4 @@ :ignored: 0 :stdout: - Testergebniss 0.051041 -:time: 0.31591370003297925 +:time: 0.37908650003373623 diff --git a/build/test/results/test_GewinnMaximum.pass b/build/test/results/test_GewinnMaximum.pass index 91713b8..7aa2b76 100644 --- a/build/test/results/test_GewinnMaximum.pass +++ b/build/test/results/test_GewinnMaximum.pass @@ -16,4 +16,4 @@ :ignored: 0 :stdout: - Testergebniss 251.000000 -:time: 0.28868040000088513 +:time: 0.37459350004792213 diff --git a/build/test/results/test_Kalkulatorische_Zinsen.pass b/build/test/results/test_Kalkulatorische_Zinsen.pass index 7838f34..60e8f47 100644 --- a/build/test/results/test_Kalkulatorische_Zinsen.pass +++ b/build/test/results/test_Kalkulatorische_Zinsen.pass @@ -16,4 +16,4 @@ :ignored: 0 :stdout: - Testergebniss 1.440000 -:time: 0.40034559997729957 +:time: 0.3336997999576852 diff --git a/build/test/results/test_Kritische_Menge.pass b/build/test/results/test_Kritische_Menge.pass index 4cc31af..50dc15e 100644 --- a/build/test/results/test_Kritische_Menge.pass +++ b/build/test/results/test_Kritische_Menge.pass @@ -16,4 +16,4 @@ :ignored: 0 :stdout: - Testergebniss -12.096026 -:time: 0.27785740001127124 +:time: 0.3893398999935016 diff --git a/build/test/results/test_Stueckzeitakkort.pass b/build/test/results/test_Stueckzeitakkort.pass index b886344..d164153 100644 --- a/build/test/results/test_Stueckzeitakkort.pass +++ b/build/test/results/test_Stueckzeitakkort.pass @@ -16,4 +16,4 @@ :ignored: 0 :stdout: - '96600.000000' -:time: 0.41093989997170866 +:time: 0.3815024000359699 diff --git a/build/test/results/test_Vadd.pass b/build/test/results/test_Vadd.pass index dac608f..0874c63 100644 --- a/build/test/results/test_Vadd.pass +++ b/build/test/results/test_Vadd.pass @@ -15,4 +15,4 @@ :failed: 0 :ignored: 0 :stdout: [] -:time: 0.353893399995286 +:time: 0.2679608999751508 diff --git a/build/test/results/test_Vaddx2.pass b/build/test/results/test_Vaddx2.pass index ef11806..9037a52 100644 --- a/build/test/results/test_Vaddx2.pass +++ b/build/test/results/test_Vaddx2.pass @@ -15,4 +15,4 @@ :failed: 0 :ignored: 0 :stdout: [] -:time: 0.294908799987752 +:time: 0.27820279996376485 diff --git a/build/test/results/test_Vaddx3.pass b/build/test/results/test_Vaddx3.pass index e6d19f8..6227b3e 100644 --- a/build/test/results/test_Vaddx3.pass +++ b/build/test/results/test_Vaddx3.pass @@ -15,4 +15,4 @@ :failed: 0 :ignored: 0 :stdout: [] -:time: 0.3709357000188902 +:time: 0.47060770000098273 diff --git a/build/test/results/test_Vangle.pass b/build/test/results/test_Vangle.pass index 5782a4d..3aa799d 100644 --- a/build/test/results/test_Vangle.pass +++ b/build/test/results/test_Vangle.pass @@ -15,4 +15,4 @@ :failed: 0 :ignored: 0 :stdout: [] -:time: 0.4009747999953106 +:time: 0.3061765999882482 diff --git a/build/test/results/test_Vlength.pass b/build/test/results/test_Vlength.pass index fc3f496..4d700a7 100644 --- a/build/test/results/test_Vlength.pass +++ b/build/test/results/test_Vlength.pass @@ -15,4 +15,4 @@ :failed: 0 :ignored: 0 :stdout: [] -:time: 0.3619964999961667 +:time: 0.3674098000046797 diff --git a/build/test/results/test_Vmiddle.pass b/build/test/results/test_Vmiddle.pass index 36542f4..29f7c4d 100644 --- a/build/test/results/test_Vmiddle.pass +++ b/build/test/results/test_Vmiddle.pass @@ -15,4 +15,4 @@ :failed: 0 :ignored: 0 :stdout: [] -:time: 0.30238060001283884 +:time: 0.40321710001444444 diff --git a/build/test/results/test_Vmiddle2.pass b/build/test/results/test_Vmiddle2.pass index 377cfeb..6badf7f 100644 --- a/build/test/results/test_Vmiddle2.pass +++ b/build/test/results/test_Vmiddle2.pass @@ -15,4 +15,4 @@ :failed: 0 :ignored: 0 :stdout: [] -:time: 0.2825810000067577 +:time: 0.38660189998336136 diff --git a/build/test/results/test_Vmiddle3.pass b/build/test/results/test_Vmiddle3.pass index 89d17a5..f30d831 100644 --- a/build/test/results/test_Vmiddle3.pass +++ b/build/test/results/test_Vmiddle3.pass @@ -15,4 +15,4 @@ :failed: 0 :ignored: 0 :stdout: [] -:time: 0.3992414000094868 +:time: 0.35719930002233014 diff --git a/build/test/results/test_Vmultiplier.pass b/build/test/results/test_Vmultiplier.pass index 2a2a076..f6effbc 100644 --- a/build/test/results/test_Vmultiplier.pass +++ b/build/test/results/test_Vmultiplier.pass @@ -15,4 +15,4 @@ :failed: 0 :ignored: 0 :stdout: [] -:time: 0.3789005999569781 +:time: 0.4312777000013739 diff --git a/build/test/results/test_Vmultiplier2.pass b/build/test/results/test_Vmultiplier2.pass index 6147655..638e28c 100644 --- a/build/test/results/test_Vmultiplier2.pass +++ b/build/test/results/test_Vmultiplier2.pass @@ -15,4 +15,4 @@ :failed: 0 :ignored: 0 :stdout: [] -:time: 0.3644617000245489 +:time: 0.39115869998931885 diff --git a/build/test/results/test_Vmultiplier3.pass b/build/test/results/test_Vmultiplier3.pass index 29a54bf..9ae51a8 100644 --- a/build/test/results/test_Vmultiplier3.pass +++ b/build/test/results/test_Vmultiplier3.pass @@ -15,4 +15,4 @@ :failed: 0 :ignored: 0 :stdout: [] -:time: 0.3895584000274539 +:time: 0.41179149999516085 diff --git a/build/test/results/test_Vparallel.pass b/build/test/results/test_Vparallel.pass index f476c63..5cdd2cf 100644 --- a/build/test/results/test_Vparallel.pass +++ b/build/test/results/test_Vparallel.pass @@ -15,4 +15,4 @@ :failed: 0 :ignored: 0 :stdout: [] -:time: 0.37927989999298006 +:time: 0.3768609000253491 diff --git a/build/test/results/test_Vshift.pass b/build/test/results/test_Vshift.pass index cb4d498..af4e9d3 100644 --- a/build/test/results/test_Vshift.pass +++ b/build/test/results/test_Vshift.pass @@ -15,4 +15,4 @@ :failed: 0 :ignored: 0 :stdout: [] -:time: 0.3777614000136964 +:time: 0.36795330001041293 diff --git a/build/test/results/test_Vskalort.pass b/build/test/results/test_Vskalort.pass index a61af05..3b4d36e 100644 --- a/build/test/results/test_Vskalort.pass +++ b/build/test/results/test_Vskalort.pass @@ -15,4 +15,4 @@ :failed: 0 :ignored: 0 :stdout: [] -:time: 0.32817410002462566 +:time: 0.3936128999921493 diff --git a/build/test/results/test_Vsubstract.pass b/build/test/results/test_Vsubstract.pass index 5dcf25f..4ec1404 100644 --- a/build/test/results/test_Vsubstract.pass +++ b/build/test/results/test_Vsubstract.pass @@ -15,4 +15,4 @@ :failed: 0 :ignored: 0 :stdout: [] -:time: 0.4782363999984227 +:time: 0.5509024999919347 diff --git a/build/test/results/test_Vsubstract2.pass b/build/test/results/test_Vsubstract2.pass index e45382f..443d4cc 100644 --- a/build/test/results/test_Vsubstract2.pass +++ b/build/test/results/test_Vsubstract2.pass @@ -15,4 +15,4 @@ :failed: 0 :ignored: 0 :stdout: [] -:time: 0.4551767999655567 +:time: 0.35792740003671497 diff --git a/build/test/results/test_Vsubstract3.pass b/build/test/results/test_Vsubstract3.pass index 76d0865..f497290 100644 --- a/build/test/results/test_Vsubstract3.pass +++ b/build/test/results/test_Vsubstract3.pass @@ -15,4 +15,4 @@ :failed: 0 :ignored: 0 :stdout: [] -:time: 0.36103060003370047 +:time: 0.35470470000291243 diff --git a/build/test/results/test_Zeitlohn.pass b/build/test/results/test_Zeitlohn.pass index 8782095..8559087 100644 --- a/build/test/results/test_Zeitlohn.pass +++ b/build/test/results/test_Zeitlohn.pass @@ -16,4 +16,4 @@ :ignored: 0 :stdout: - Testergebniss 3450.000000 -:time: 0.3793747000163421 +:time: 0.30610230000456795 diff --git a/build/test/results/test_angebotserfolg.pass b/build/test/results/test_angebotserfolg.pass index 7143cac..0dc08c7 100644 --- a/build/test/results/test_angebotserfolg.pass +++ b/build/test/results/test_angebotserfolg.pass @@ -16,4 +16,4 @@ :ignored: 0 :stdout: - Testergebniss 225.000000 -:time: 0.34514389996184036 +:time: 0.3649325000005774 diff --git a/build/test/results/test_binomial_coefficient.pass b/build/test/results/test_binomial_coefficient.pass index f49259d..72b4ff0 100644 --- a/build/test/results/test_binomial_coefficient.pass +++ b/build/test/results/test_binomial_coefficient.pass @@ -16,4 +16,4 @@ :ignored: 0 :stdout: - Testergebniss 1 -:time: 0.4251819000346586 +:time: 0.35201169998617843 diff --git a/build/test/results/test_boolesche_nicht.pass b/build/test/results/test_boolesche_nicht.pass index 3925b33..4489cbb 100644 --- a/build/test/results/test_boolesche_nicht.pass +++ b/build/test/results/test_boolesche_nicht.pass @@ -15,4 +15,4 @@ :failed: 0 :ignored: 0 :stdout: [] -:time: 0.36941260000457987 +:time: 0.3605134999961592 diff --git a/build/test/results/test_boolesche_oder.pass b/build/test/results/test_boolesche_oder.pass index 3be20e8..2c5fe0e 100644 --- a/build/test/results/test_boolesche_oder.pass +++ b/build/test/results/test_boolesche_oder.pass @@ -15,4 +15,4 @@ :failed: 0 :ignored: 0 :stdout: [] -:time: 0.40342029999010265 +:time: 0.30192930001067 diff --git a/build/test/results/test_boolesche_und.pass b/build/test/results/test_boolesche_und.pass index 9c3fe82..9da22dc 100644 --- a/build/test/results/test_boolesche_und.pass +++ b/build/test/results/test_boolesche_und.pass @@ -15,4 +15,4 @@ :failed: 0 :ignored: 0 :stdout: [] -:time: 0.3783446999732405 +:time: 0.3712035000207834 diff --git a/build/test/results/test_dezimal_binar_linksverschiebung.pass b/build/test/results/test_dezimal_binar_linksverschiebung.pass index 20d1dd5..ca0cd9f 100644 --- a/build/test/results/test_dezimal_binar_linksverschiebung.pass +++ b/build/test/results/test_dezimal_binar_linksverschiebung.pass @@ -16,4 +16,4 @@ :ignored: 0 :stdout: - Testergebniss 111110 -:time: 0.3576743000303395 +:time: 0.2743940000073053 diff --git a/build/test/results/test_dezimal_binar_rechtsverschiebung.pass b/build/test/results/test_dezimal_binar_rechtsverschiebung.pass index 6511b3c..b2f84e8 100644 --- a/build/test/results/test_dezimal_binar_rechtsverschiebung.pass +++ b/build/test/results/test_dezimal_binar_rechtsverschiebung.pass @@ -16,4 +16,4 @@ :ignored: 0 :stdout: - Testergebniss 1111 -:time: 0.4020938000176102 +:time: 0.37675799999851733 diff --git a/build/test/results/test_dezimal_to_bin.pass b/build/test/results/test_dezimal_to_bin.pass index 9522aa3..6c9930c 100644 --- a/build/test/results/test_dezimal_to_bin.pass +++ b/build/test/results/test_dezimal_to_bin.pass @@ -16,4 +16,4 @@ :ignored: 0 :stdout: - Testergebniss 11111 -:time: 0.29130000004079193 +:time: 0.3803176999790594 diff --git a/build/test/results/test_dreieckFlaeche.pass b/build/test/results/test_dreieckFlaeche.pass index 23a1b1d..05957a6 100644 --- a/build/test/results/test_dreieckFlaeche.pass +++ b/build/test/results/test_dreieckFlaeche.pass @@ -15,4 +15,4 @@ :failed: 0 :ignored: 0 :stdout: [] -:time: 0.3028059000498615 +:time: 0.5493321000249125 diff --git a/build/test/results/test_dreieckUmfang.pass b/build/test/results/test_dreieckUmfang.pass index 8f69fa7..3a6554f 100644 --- a/build/test/results/test_dreieckUmfang.pass +++ b/build/test/results/test_dreieckUmfang.pass @@ -15,4 +15,4 @@ :failed: 0 :ignored: 0 :stdout: [] -:time: 0.36193799995817244 +:time: 0.34894379996694624 diff --git a/build/test/results/test_eigenkapital_Rentabilitaeten.pass b/build/test/results/test_eigenkapital_Rentabilitaeten.pass index c783236..1657c64 100644 --- a/build/test/results/test_eigenkapital_Rentabilitaeten.pass +++ b/build/test/results/test_eigenkapital_Rentabilitaeten.pass @@ -16,4 +16,4 @@ :ignored: 0 :stdout: - Testergebniss 62.500000 -:time: 0.3517856000107713 +:time: 0.3704478000290692 diff --git a/build/test/results/test_erloesfunktion.pass b/build/test/results/test_erloesfunktion.pass index 98c721d..8542911 100644 --- a/build/test/results/test_erloesfunktion.pass +++ b/build/test/results/test_erloesfunktion.pass @@ -16,4 +16,4 @@ :ignored: 0 :stdout: - Testergebniss 4000.000000 -:time: 0.38873040000908077 +:time: 0.31691370002226904 diff --git a/build/test/results/test_gesamtkapital_Rentabilitaeten.pass b/build/test/results/test_gesamtkapital_Rentabilitaeten.pass index 58f9620..ab7b29e 100644 --- a/build/test/results/test_gesamtkapital_Rentabilitaeten.pass +++ b/build/test/results/test_gesamtkapital_Rentabilitaeten.pass @@ -16,4 +16,4 @@ :ignored: 0 :stdout: - Testergebniss 27.136929 -:time: 0.3849536000052467 +:time: 0.2501371999969706 diff --git a/build/test/results/test_grenzGewinn.pass b/build/test/results/test_grenzGewinn.pass index 2d4823f..a7e5d70 100644 --- a/build/test/results/test_grenzGewinn.pass +++ b/build/test/results/test_grenzGewinn.pass @@ -16,4 +16,4 @@ :ignored: 0 :stdout: - Testergebniss 1141.000000 -:time: 0.26260440004989505 +:time: 0.38401650002924725 diff --git a/build/test/results/test_grundwert.pass b/build/test/results/test_grundwert.pass index a40b675..238e1ca 100644 --- a/build/test/results/test_grundwert.pass +++ b/build/test/results/test_grundwert.pass @@ -15,4 +15,4 @@ :failed: 0 :ignored: 0 :stdout: [] -:time: 0.35644639999372885 +:time: 0.3857008999912068 diff --git a/build/test/results/test_kreisFlaeche.pass b/build/test/results/test_kreisFlaeche.pass index a481bbf..3acd0f4 100644 --- a/build/test/results/test_kreisFlaeche.pass +++ b/build/test/results/test_kreisFlaeche.pass @@ -15,4 +15,4 @@ :failed: 0 :ignored: 0 :stdout: [] -:time: 0.38307939999504015 +:time: 0.34990319999633357 diff --git a/build/test/results/test_kreisUmfang.pass b/build/test/results/test_kreisUmfang.pass index be7f601..8e21ecf 100644 --- a/build/test/results/test_kreisUmfang.pass +++ b/build/test/results/test_kreisUmfang.pass @@ -15,4 +15,4 @@ :failed: 0 :ignored: 0 :stdout: [] -:time: 0.40279720001854 +:time: 0.3966022999957204 diff --git a/build/test/results/test_marktanteil.pass b/build/test/results/test_marktanteil.pass index 5f1cfb7..5bdb818 100644 --- a/build/test/results/test_marktanteil.pass +++ b/build/test/results/test_marktanteil.pass @@ -16,4 +16,4 @@ :ignored: 0 :stdout: - Testergebniss 21.739130 -:time: 0.28065630001947284 +:time: 0.37282040005084127 diff --git a/build/test/results/test_probability_from_tree.pass b/build/test/results/test_probability_from_tree.pass index 2000593..ec1bf03 100644 --- a/build/test/results/test_probability_from_tree.pass +++ b/build/test/results/test_probability_from_tree.pass @@ -15,4 +15,4 @@ :failed: 0 :ignored: 0 :stdout: [] -:time: 0.3715339000336826 +:time: 0.4120243000215851 diff --git a/build/test/results/test_prozentsatz.pass b/build/test/results/test_prozentsatz.pass index 659fa04..35b4ede 100644 --- a/build/test/results/test_prozentsatz.pass +++ b/build/test/results/test_prozentsatz.pass @@ -15,4 +15,4 @@ :failed: 0 :ignored: 0 :stdout: [] -:time: 0.3774615000002086 +:time: 0.3876530000125058 diff --git a/build/test/results/test_prozentwert.pass b/build/test/results/test_prozentwert.pass index c7b4aa8..e50c344 100644 --- a/build/test/results/test_prozentwert.pass +++ b/build/test/results/test_prozentwert.pass @@ -15,4 +15,4 @@ :failed: 0 :ignored: 0 :stdout: [] -:time: 0.4007104999618605 +:time: 0.2923538999748416 diff --git a/build/test/results/test_trapezFlaeche.pass b/build/test/results/test_trapezFlaeche.pass index 14283e8..8e5e8a7 100644 --- a/build/test/results/test_trapezFlaeche.pass +++ b/build/test/results/test_trapezFlaeche.pass @@ -17,4 +17,4 @@ :stdout: - 'Flaeche vom Trapez betrÃĪgt: 21.000000' - Testergebniss 21.000000 -:time: 0.2995704000350088 +:time: 0.3601681999862194 diff --git a/build/test/results/test_vPunkt.pass b/build/test/results/test_vPunkt.pass index 30feaa4..77b339d 100644 --- a/build/test/results/test_vPunkt.pass +++ b/build/test/results/test_vPunkt.pass @@ -15,4 +15,4 @@ :failed: 0 :ignored: 0 :stdout: [] -:time: 0.4078511000261642 +:time: 0.3623547999886796 diff --git a/build/test/results/test_viereckFleache.pass b/build/test/results/test_viereckFleache.pass index c4b6f3b..592065e 100644 --- a/build/test/results/test_viereckFleache.pass +++ b/build/test/results/test_viereckFleache.pass @@ -15,4 +15,4 @@ :failed: 0 :ignored: 0 :stdout: [] -:time: 0.4034353999886662 +:time: 0.3880039000068791 diff --git a/build/test/results/test_viereckUmfang.pass b/build/test/results/test_viereckUmfang.pass new file mode 100644 index 0000000..c390367 --- /dev/null +++ b/build/test/results/test_viereckUmfang.pass @@ -0,0 +1,18 @@ +--- +:source: + :path: test + :file: test_viereckUmfang.c +:successes: +- :test: test_viereckUmfang_NeedToImplement + :line: 13 + :message: '' + :unity_test_time: 0 +:failures: [] +:ignores: [] +:counts: + :total: 1 + :passed: 1 + :failed: 0 + :ignored: 0 +:stdout: [] +:time: 0.38856290001422167 diff --git a/build/test/runners/test_viereckUmfang_runner.c b/build/test/runners/test_viereckUmfang_runner.c new file mode 100644 index 0000000..7e56233 --- /dev/null +++ b/build/test/runners/test_viereckUmfang_runner.c @@ -0,0 +1,81 @@ +/* AUTOGENERATED FILE. DO NOT EDIT. */ + +/*=======Automagically Detected Files To Include=====*/ +#include "unity.h" + +int GlobalExpectCount; +int GlobalVerifyOrder; +char* GlobalOrderError; + +/*=======External Functions This Runner Calls=====*/ +extern void setUp(void); +extern void tearDown(void); +extern void test_viereckUmfang_NeedToImplement(void); + + +/*=======Mock Management=====*/ +static void CMock_Init(void) +{ + GlobalExpectCount = 0; + GlobalVerifyOrder = 0; + GlobalOrderError = NULL; +} +static void CMock_Verify(void) +{ +} +static void CMock_Destroy(void) +{ +} + +/*=======Test Reset Options=====*/ +void resetTest(void); +void resetTest(void) +{ + tearDown(); + CMock_Verify(); + CMock_Destroy(); + CMock_Init(); + setUp(); +} +void verifyTest(void); +void verifyTest(void) +{ + CMock_Verify(); +} + +/*=======Test Runner Used To Run Each Test=====*/ +static void run_test(UnityTestFunction func, const char* name, UNITY_LINE_TYPE line_num) +{ + Unity.CurrentTestName = name; + Unity.CurrentTestLineNumber = line_num; +#ifdef UNITY_USE_COMMAND_LINE_ARGS + if (!UnityTestMatches()) + return; +#endif + Unity.NumberOfTests++; + UNITY_CLR_DETAILS(); + UNITY_EXEC_TIME_START(); + CMock_Init(); + if (TEST_PROTECT()) + { + setUp(); + func(); + } + if (TEST_PROTECT()) + { + tearDown(); + CMock_Verify(); + } + CMock_Destroy(); + UNITY_EXEC_TIME_STOP(); + UnityConcludeTest(); +} + +/*=======MAIN=====*/ +int main(void) +{ + UnityBegin("test_viereckUmfang.c"); + run_test(test_viereckUmfang_NeedToImplement, "test_viereckUmfang_NeedToImplement", 13); + + return UnityEnd(); +} diff --git a/test/test_viereckUmfang.c b/test/test_viereckUmfang.c new file mode 100644 index 0000000..21dbcb3 --- /dev/null +++ b/test/test_viereckUmfang.c @@ -0,0 +1,19 @@ +#include "unity.h" + +#include "funktion.h" + +void setUp(void) +{ +} + +void tearDown(void) +{ +} + +void test_viereckUmfang_NeedToImplement(void) { + double a = 4; + double b = 7; + double result = viereckUmfang(a, b); + double ergebnis = (2 * a) + (2 * b); + TEST_ASSERT_EQUAL_FLOAT(ergebnis, result); +} \ No newline at end of file