diff --git a/build/test/cache/test_position.c b/build/test/cache/test_position.c new file mode 100644 index 0000000..97f7496 --- /dev/null +++ b/build/test/cache/test_position.c @@ -0,0 +1,49 @@ +#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_position_NeedToImplement(void) + +{ + + double a=5; + + double b= 3; + + double c= 4; + + double d = 2; + + double result=position(a,b,c,d); + + double ergebnis=19; + + printf("Testergebniss %d", ergebnis); + + UnityAssertFloatsWithin((UNITY_FLOAT)((UNITY_FLOAT)((result)) * (UNITY_FLOAT)(0.00001f)), (UNITY_FLOAT)((UNITY_FLOAT)((result))), (UNITY_FLOAT)((UNITY_FLOAT)((ergebnis))), (( + + ((void *)0) + + )), (UNITY_UINT)((UNITY_UINT)(23))); + +} diff --git a/build/test/dependencies/test_position.d b/build/test/dependencies/test_position.d new file mode 100644 index 0000000..17be807 --- /dev/null +++ b/build/test/dependencies/test_position.d @@ -0,0 +1,4 @@ +build/test/out/c/test_position.o: test/test_position.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_position_runner.d b/build/test/dependencies/test_position_runner.d new file mode 100644 index 0000000..3f59eec --- /dev/null +++ b/build/test/dependencies/test_position_runner.d @@ -0,0 +1,4 @@ +build/test/out/c/test_position_runner.o: \ + build/test/runners/test_position_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 1d08e18..0af77e3 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_position.o b/build/test/out/c/test_position.o new file mode 100644 index 0000000..0700439 Binary files /dev/null and b/build/test/out/c/test_position.o differ diff --git a/build/test/out/c/test_position_runner.o b/build/test/out/c/test_position_runner.o new file mode 100644 index 0000000..f1e4c72 Binary files /dev/null and b/build/test/out/c/test_position_runner.o differ diff --git a/build/test/out/test_Akkortrichtsatz.out b/build/test/out/test_Akkortrichtsatz.out index 7263bef..8c3bf48 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 78b07b6..ce7e46a 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 7c580c7..bcd9de9 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 6330e13..ba56aa0 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 603a960..fe99e6d 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 d67cc04..678dcb6 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_Division_drei_Zahlen.out b/build/test/out/test_Division_drei_Zahlen.out index 8fde9fb..55c1797 100644 Binary files a/build/test/out/test_Division_drei_Zahlen.out and b/build/test/out/test_Division_drei_Zahlen.out differ diff --git a/build/test/out/test_Dynamische_Amortisationszeit.out b/build/test/out/test_Dynamische_Amortisationszeit.out index 02ad278..a9f5b6a 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 800943c..3ace4e3 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 e52bb0d..352edf8 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 099fb7f..ee0c7f4 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 6fa61a4..0c9fe67 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 67245e8..b3e7fc4 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 d556ae7..f6adf2a 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 af15854..985eb85 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 381cfc9..7245e8a 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 1fd42c6..bdabbce 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 d1c6868..be154eb 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 cb7ac63..3b1ad62 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 df42bc7..ca0c1ab 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 d62c1e5..b4f161b 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 370e147..2d0de11 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 74fad00..0295ce0 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 eca813f..10ce002 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 5262271..2d4a8fe 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 0b4b516..6847bf4 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 d37f25f..208fba9 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 7c28c55..6f75e3c 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 c88a812..5cd4b85 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 49c4115..fc763d1 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 6888850..5a6a57b 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 43c8ff4..3e452d4 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 606bfaa..d2391b0 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 e5d415c..9cda96a 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 7b818ff..5074b3d 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 c43082d..11f5662 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 93c7c69..6153805 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 10f5c24..14b9942 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 7a381e1..0040579 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 38ab084..c2f70f0 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 5a89283..b2f1d09 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 23bf0b3..97a90dd 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 760c64c..e1ef133 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 3689472..18d8bfb 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 523a95c..f7f660c 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 b6daf86..dffe58c 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 639572f..9c13eb0 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 f092a7a..4fbcf79 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 19d5b26..a9f9820 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 a51f102..7904b62 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_multiplikation_2Zahlen.out b/build/test/out/test_multiplikation_2Zahlen.out index 254454f..4e06471 100644 Binary files a/build/test/out/test_multiplikation_2Zahlen.out and b/build/test/out/test_multiplikation_2Zahlen.out differ diff --git a/build/test/out/test_multiplikation_3Zahlen.out b/build/test/out/test_multiplikation_3Zahlen.out index fbde42a..7cdd878 100644 Binary files a/build/test/out/test_multiplikation_3Zahlen.out and b/build/test/out/test_multiplikation_3Zahlen.out differ diff --git a/build/test/out/test_normaleDivision.out b/build/test/out/test_normaleDivision.out index 91036a6..51b145c 100644 Binary files a/build/test/out/test_normaleDivision.out and b/build/test/out/test_normaleDivision.out differ diff --git a/build/test/out/test_position.out b/build/test/out/test_position.out new file mode 100644 index 0000000..dcd4d09 Binary files /dev/null and b/build/test/out/test_position.out differ diff --git a/build/test/out/test_probability_from_tree.out b/build/test/out/test_probability_from_tree.out index c269522..0df8d84 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 4640ea9..e22a4d3 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 3b65712..a7df9b0 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_substraction_2Zahlen.out b/build/test/out/test_substraction_2Zahlen.out index 0bfcdeb..ddcdaff 100644 Binary files a/build/test/out/test_substraction_2Zahlen.out and b/build/test/out/test_substraction_2Zahlen.out differ diff --git a/build/test/out/test_substraction_3Zahlen.out b/build/test/out/test_substraction_3Zahlen.out index c8db216..9691136 100644 Binary files a/build/test/out/test_substraction_3Zahlen.out and b/build/test/out/test_substraction_3Zahlen.out differ diff --git a/build/test/out/test_trapezFlaeche.out b/build/test/out/test_trapezFlaeche.out index aae78a0..9dcdb31 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_trapezUmfang.out b/build/test/out/test_trapezUmfang.out index bedad1b..a6025c9 100644 Binary files a/build/test/out/test_trapezUmfang.out and b/build/test/out/test_trapezUmfang.out differ diff --git a/build/test/out/test_vPunkt.out b/build/test/out/test_vPunkt.out index 73eaedd..5de3c36 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_velocity.out b/build/test/out/test_velocity.out index 241486a..689f409 100644 Binary files a/build/test/out/test_velocity.out and b/build/test/out/test_velocity.out differ diff --git a/build/test/out/test_viereckFleache.out b/build/test/out/test_viereckFleache.out index 151c63c..61bdad3 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 index 11ccfcc..02eb016 100644 Binary files a/build/test/out/test_viereckUmfang.out and b/build/test/out/test_viereckUmfang.out differ diff --git a/build/test/preprocess/files/test_position.c b/build/test/preprocess/files/test_position.c new file mode 100644 index 0000000..97f7496 --- /dev/null +++ b/build/test/preprocess/files/test_position.c @@ -0,0 +1,49 @@ +#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_position_NeedToImplement(void) + +{ + + double a=5; + + double b= 3; + + double c= 4; + + double d = 2; + + double result=position(a,b,c,d); + + double ergebnis=19; + + printf("Testergebniss %d", ergebnis); + + UnityAssertFloatsWithin((UNITY_FLOAT)((UNITY_FLOAT)((result)) * (UNITY_FLOAT)(0.00001f)), (UNITY_FLOAT)((UNITY_FLOAT)((result))), (UNITY_FLOAT)((UNITY_FLOAT)((ergebnis))), (( + + ((void *)0) + + )), (UNITY_UINT)((UNITY_UINT)(23))); + +} diff --git a/build/test/preprocess/includes/test_position.c b/build/test/preprocess/includes/test_position.c new file mode 100644 index 0000000..376e2c1 --- /dev/null +++ b/build/test/preprocess/includes/test_position.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 85e6591..515d6bb 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.0418925000121817 +:time: 0.04364629997871816 diff --git a/build/test/results/test_Anlagenabnutzungsgrad.pass b/build/test/results/test_Anlagenabnutzungsgrad.pass index 3e91894..e35d936 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.049576399964280427 +:time: 0.04067910008598119 diff --git a/build/test/results/test_Anlagenintensitaet.pass b/build/test/results/test_Anlagenintensitaet.pass index db8f2c7..c6b7e44 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.03900900005828589 +:time: 0.039316299953497946 diff --git a/build/test/results/test_Anlagenproduktivitaet.pass b/build/test/results/test_Anlagenproduktivitaet.pass index 949afac..31d5db0 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.05297630000859499 +:time: 0.045432599959895015 diff --git a/build/test/results/test_Arbeitsproduktivitaet.pass b/build/test/results/test_Arbeitsproduktivitaet.pass index 5df1ac6..830d649 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.042820399976335466 +:time: 0.04307569994125515 diff --git a/build/test/results/test_ByOne.pass b/build/test/results/test_ByOne.pass index 56ff865..84e5f2d 100644 --- a/build/test/results/test_ByOne.pass +++ b/build/test/results/test_ByOne.pass @@ -15,4 +15,4 @@ :failed: 0 :ignored: 0 :stdout: [] -:time: 0.0332347999792546 +:time: 0.034251100034452975 diff --git a/build/test/results/test_Cashflow_zu_Gesamtkapital.pass b/build/test/results/test_Cashflow_zu_Gesamtkapital.pass index 1966fca..86eb4e1 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.043011700036004186 +:time: 0.04065999994054437 diff --git a/build/test/results/test_Division_drei_Zahlen.pass b/build/test/results/test_Division_drei_Zahlen.pass index 31e6af8..6302235 100644 --- a/build/test/results/test_Division_drei_Zahlen.pass +++ b/build/test/results/test_Division_drei_Zahlen.pass @@ -16,4 +16,4 @@ :ignored: 0 :stdout: - Testergebniss 0 -:time: 0.040002399939112365 +:time: 0.03773229999933392 diff --git a/build/test/results/test_Dynamische_Amortisationszeit.pass b/build/test/results/test_Dynamische_Amortisationszeit.pass index f2c88a1..b61eeac 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.042036900063976645 +:time: 0.041248699999414384 diff --git a/build/test/results/test_Effektivverzinsung.pass b/build/test/results/test_Effektivverzinsung.pass index dffa554..3c5c0d0 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.03874079999513924 +:time: 0.038420299999415874 diff --git a/build/test/results/test_Finanzierungsregeln.pass b/build/test/results/test_Finanzierungsregeln.pass index bbf430a..c40a584 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.04396819998510182 +:time: 0.03789759997744113 diff --git a/build/test/results/test_GewinnMaximum.pass b/build/test/results/test_GewinnMaximum.pass index 94cf3c3..94f664b 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.045071200001984835 +:time: 0.038384699961170554 diff --git a/build/test/results/test_Kalkulatorische_Zinsen.pass b/build/test/results/test_Kalkulatorische_Zinsen.pass index b3a8c79..063cc2e 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.04344479995779693 +:time: 0.0418843999505043 diff --git a/build/test/results/test_Kritische_Menge.pass b/build/test/results/test_Kritische_Menge.pass index 1092f0d..4dc004d 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.04082280001603067 +:time: 0.04127789998892695 diff --git a/build/test/results/test_Stueckzeitakkort.pass b/build/test/results/test_Stueckzeitakkort.pass index 93f608d..e628b0c 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.03649079997558147 +:time: 0.03836460004094988 diff --git a/build/test/results/test_Vadd.pass b/build/test/results/test_Vadd.pass index d53e988..118c1b9 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.03734100004658103 +:time: 0.04540930001530796 diff --git a/build/test/results/test_Vaddx2.pass b/build/test/results/test_Vaddx2.pass index 5ffc0ae..9867c3b 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.03847120003774762 +:time: 0.03696579998359084 diff --git a/build/test/results/test_Vaddx3.pass b/build/test/results/test_Vaddx3.pass index 1d9233d..954c91f 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.04841089993715286 +:time: 0.03841979999560863 diff --git a/build/test/results/test_Vangle.pass b/build/test/results/test_Vangle.pass index 325edaf..821d28e 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.03820870001800358 +:time: 0.041079499991610646 diff --git a/build/test/results/test_Vlength.pass b/build/test/results/test_Vlength.pass index add5dfb..ab1bfbc 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.03882880008313805 +:time: 0.0399617999792099 diff --git a/build/test/results/test_Vmiddle.pass b/build/test/results/test_Vmiddle.pass index d70303e..dee850b 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.038018699968233705 +:time: 0.043013400048948824 diff --git a/build/test/results/test_Vmiddle2.pass b/build/test/results/test_Vmiddle2.pass index 028ce38..ff0bc68 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.03595429996494204 +:time: 0.038229300058446825 diff --git a/build/test/results/test_Vmiddle3.pass b/build/test/results/test_Vmiddle3.pass index 00c68dd..4e6d678 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.04091710003558546 +:time: 0.038153500063344836 diff --git a/build/test/results/test_Vmultiplier.pass b/build/test/results/test_Vmultiplier.pass index e13ecec..e3b810f 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.03873539995402098 +:time: 0.03737739997450262 diff --git a/build/test/results/test_Vmultiplier2.pass b/build/test/results/test_Vmultiplier2.pass index 3178101..768188f 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.040002499939873815 +:time: 0.03928119991905987 diff --git a/build/test/results/test_Vmultiplier3.pass b/build/test/results/test_Vmultiplier3.pass index bae35eb..db05dfe 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.03665010002441704 +:time: 0.04505399998743087 diff --git a/build/test/results/test_Vparallel.pass b/build/test/results/test_Vparallel.pass index 8ce83d3..33fdaa0 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.03658399998676032 +:time: 0.04041220003273338 diff --git a/build/test/results/test_Vshift.pass b/build/test/results/test_Vshift.pass index cda2d0c..65aedc3 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.042087600100785494 +:time: 0.038842700072564185 diff --git a/build/test/results/test_Vskalort.pass b/build/test/results/test_Vskalort.pass index a9940bf..56b4fd0 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.03868750005494803 +:time: 0.037700199987739325 diff --git a/build/test/results/test_Vsubstract.pass b/build/test/results/test_Vsubstract.pass index d6a4619..91f9d50 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.037642200011759996 +:time: 0.03801749995909631 diff --git a/build/test/results/test_Vsubstract2.pass b/build/test/results/test_Vsubstract2.pass index 103c2a6..21d0049 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.04034399997908622 +:time: 0.041023600031621754 diff --git a/build/test/results/test_Vsubstract3.pass b/build/test/results/test_Vsubstract3.pass index 83732bb..aa2f811 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.03911439992953092 +:time: 0.03703390003647655 diff --git a/build/test/results/test_Zeitlohn.pass b/build/test/results/test_Zeitlohn.pass index 5be554b..96af8ef 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.0374045999487862 +:time: 0.037761200102977455 diff --git a/build/test/results/test_angebotserfolg.pass b/build/test/results/test_angebotserfolg.pass index f39f367..aacdc02 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.03795390005689114 +:time: 0.039147399947978556 diff --git a/build/test/results/test_binomial_coefficient.pass b/build/test/results/test_binomial_coefficient.pass index ee60a8c..0ccfdb7 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.03792439994867891 +:time: 0.03948809998109937 diff --git a/build/test/results/test_boolesche_nicht.pass b/build/test/results/test_boolesche_nicht.pass index 73b6e46..76f3cda 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.041014499962329865 +:time: 0.0468363999389112 diff --git a/build/test/results/test_boolesche_oder.pass b/build/test/results/test_boolesche_oder.pass index 09c8075..ccd205e 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.03650249994825572 +:time: 0.037734200013801455 diff --git a/build/test/results/test_boolesche_und.pass b/build/test/results/test_boolesche_und.pass index d219772..7cc061f 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.036974199931137264 +:time: 0.03860339999664575 diff --git a/build/test/results/test_dezimal_binar_linksverschiebung.pass b/build/test/results/test_dezimal_binar_linksverschiebung.pass index 79a6f6a..b27f150 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.04086359997745603 +:time: 0.04147269995883107 diff --git a/build/test/results/test_dezimal_binar_rechtsverschiebung.pass b/build/test/results/test_dezimal_binar_rechtsverschiebung.pass index 3d0f54b..d5d23aa 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.044789700070396066 +:time: 0.043053400004282594 diff --git a/build/test/results/test_dezimal_to_bin.pass b/build/test/results/test_dezimal_to_bin.pass index 0e44027..2a02f2f 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.047917200019583106 +:time: 0.04586860002018511 diff --git a/build/test/results/test_dreieckFlaeche.pass b/build/test/results/test_dreieckFlaeche.pass index 3f05ada..fe691f0 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.03828879992943257 +:time: 0.03630210005212575 diff --git a/build/test/results/test_dreieckUmfang.pass b/build/test/results/test_dreieckUmfang.pass index a537e21..9a5d6ef 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.037197800003923476 +:time: 0.041028399951756 diff --git a/build/test/results/test_eigenkapital_Rentabilitaeten.pass b/build/test/results/test_eigenkapital_Rentabilitaeten.pass index c101602..b4a852b 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.042435099952854216 +:time: 0.042628100025467575 diff --git a/build/test/results/test_erloesfunktion.pass b/build/test/results/test_erloesfunktion.pass index a6f8b06..2e2237a 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.0368282999843359 +:time: 0.03712049999739975 diff --git a/build/test/results/test_gesamtkapital_Rentabilitaeten.pass b/build/test/results/test_gesamtkapital_Rentabilitaeten.pass index b1fdb12..6449a7f 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.05098040006123483 +:time: 0.05052589997649193 diff --git a/build/test/results/test_grenzGewinn.pass b/build/test/results/test_grenzGewinn.pass index e7578d2..b3dbdd5 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.03802049998193979 +:time: 0.03812739998102188 diff --git a/build/test/results/test_grundwert.pass b/build/test/results/test_grundwert.pass index c859fc5..1a4e3a2 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.035704400041140616 +:time: 0.039933099993504584 diff --git a/build/test/results/test_kreisFlaeche.pass b/build/test/results/test_kreisFlaeche.pass index 1447b77..8bffe4f 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.03860119997989386 +:time: 0.04045119998045266 diff --git a/build/test/results/test_kreisUmfang.pass b/build/test/results/test_kreisUmfang.pass index 339203c..c52b3ab 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.042998099932447076 +:time: 0.03775160002987832 diff --git a/build/test/results/test_marktanteil.pass b/build/test/results/test_marktanteil.pass index 3c7e151..4fc2d19 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.04968130006454885 +:time: 0.04197629995178431 diff --git a/build/test/results/test_multiplikation_2Zahlen.pass b/build/test/results/test_multiplikation_2Zahlen.pass index d974024..1bdc41a 100644 --- a/build/test/results/test_multiplikation_2Zahlen.pass +++ b/build/test/results/test_multiplikation_2Zahlen.pass @@ -16,4 +16,4 @@ :ignored: 0 :stdout: - Testergebniss 0 -:time: 0.04153419996146113 +:time: 0.0440834000473842 diff --git a/build/test/results/test_multiplikation_3Zahlen.pass b/build/test/results/test_multiplikation_3Zahlen.pass index 301a695..c2586db 100644 --- a/build/test/results/test_multiplikation_3Zahlen.pass +++ b/build/test/results/test_multiplikation_3Zahlen.pass @@ -16,4 +16,4 @@ :ignored: 0 :stdout: - Testergebniss 0 -:time: 0.04068340000230819 +:time: 0.04323419998399913 diff --git a/build/test/results/test_normaleDivision.pass b/build/test/results/test_normaleDivision.pass index 1bf03fe..0f497a4 100644 --- a/build/test/results/test_normaleDivision.pass +++ b/build/test/results/test_normaleDivision.pass @@ -16,4 +16,4 @@ :ignored: 0 :stdout: - Testergebniss 0 -:time: 0.041871100082062185 +:time: 0.037671900005079806 diff --git a/build/test/results/test_position.pass b/build/test/results/test_position.pass new file mode 100644 index 0000000..8c8a859 --- /dev/null +++ b/build/test/results/test_position.pass @@ -0,0 +1,19 @@ +--- +:source: + :path: test + :file: test_position.c +:successes: +- :test: test_position_NeedToImplement + :line: 14 + :message: '' + :unity_test_time: 0 +:failures: [] +:ignores: [] +:counts: + :total: 1 + :passed: 1 + :failed: 0 + :ignored: 0 +:stdout: +- 19.000000Testergebniss 0 +:time: 0.03999920003116131 diff --git a/build/test/results/test_probability_from_tree.pass b/build/test/results/test_probability_from_tree.pass index 7cca784..455b1e1 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.04330909997224808 +:time: 0.06583589990623295 diff --git a/build/test/results/test_prozentsatz.pass b/build/test/results/test_prozentsatz.pass index b07301f..bf026a2 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.04411000001709908 +:time: 0.03628590004518628 diff --git a/build/test/results/test_prozentwert.pass b/build/test/results/test_prozentwert.pass index 1dc71ef..74fa65c 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.0393237000098452 +:time: 0.040082500083372 diff --git a/build/test/results/test_substraction_2Zahlen.pass b/build/test/results/test_substraction_2Zahlen.pass index 610d0e8..cff114b 100644 --- a/build/test/results/test_substraction_2Zahlen.pass +++ b/build/test/results/test_substraction_2Zahlen.pass @@ -16,4 +16,4 @@ :ignored: 0 :stdout: - Testergebniss 0 -:time: 0.039112400030717254 +:time: 0.03949499991722405 diff --git a/build/test/results/test_substraction_3Zahlen.pass b/build/test/results/test_substraction_3Zahlen.pass index 7aea54c..356939a 100644 --- a/build/test/results/test_substraction_3Zahlen.pass +++ b/build/test/results/test_substraction_3Zahlen.pass @@ -16,4 +16,4 @@ :ignored: 0 :stdout: - Testergebniss 0 -:time: 0.039861499913968146 +:time: 0.04088949994184077 diff --git a/build/test/results/test_trapezFlaeche.pass b/build/test/results/test_trapezFlaeche.pass index 9d0bf73..4435758 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.04026739997789264 +:time: 0.045894999988377094 diff --git a/build/test/results/test_trapezUmfang.pass b/build/test/results/test_trapezUmfang.pass index b23e300..b98d6fe 100644 --- a/build/test/results/test_trapezUmfang.pass +++ b/build/test/results/test_trapezUmfang.pass @@ -15,4 +15,4 @@ :failed: 0 :ignored: 0 :stdout: [] -:time: 0.042625000001862645 +:time: 0.036203600000590086 diff --git a/build/test/results/test_vPunkt.pass b/build/test/results/test_vPunkt.pass index 465d37c..3a06cec 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.03747549990657717 +:time: 0.037286699982360005 diff --git a/build/test/results/test_velocity.pass b/build/test/results/test_velocity.pass index d5b0e86..06f7eeb 100644 --- a/build/test/results/test_velocity.pass +++ b/build/test/results/test_velocity.pass @@ -16,4 +16,4 @@ :ignored: 0 :stdout: - Testergebniss 0 -:time: 0.04117370001040399 +:time: 0.03983280004467815 diff --git a/build/test/results/test_viereckFleache.pass b/build/test/results/test_viereckFleache.pass index 7b02412..a46794c 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.03844340005889535 +:time: 0.03662009991239756 diff --git a/build/test/results/test_viereckUmfang.pass b/build/test/results/test_viereckUmfang.pass index 7e04a88..890f70a 100644 --- a/build/test/results/test_viereckUmfang.pass +++ b/build/test/results/test_viereckUmfang.pass @@ -15,4 +15,4 @@ :failed: 0 :ignored: 0 :stdout: [] -:time: 0.03768439998384565 +:time: 0.036935399984940886 diff --git a/build/test/runners/test_position_runner.c b/build/test/runners/test_position_runner.c new file mode 100644 index 0000000..140d975 --- /dev/null +++ b/build/test/runners/test_position_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_position_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_position.c"); + run_test(test_position_NeedToImplement, "test_position_NeedToImplement", 14); + + return UnityEnd(); +} diff --git a/test/test_position.c b/test/test_position.c new file mode 100644 index 0000000..dafc9c2 --- /dev/null +++ b/test/test_position.c @@ -0,0 +1,25 @@ + + +#include "unity.h" +#include "funktion.h" + +void setUp(void) +{ +} + +void tearDown(void) +{ +} + +void test_position_NeedToImplement(void) +{ + double a=5; + double b= 3; + double c= 4; + double d = 2; + double result=position(a,b,c,d); + double ergebnis=19; + printf("Testergebniss %d", ergebnis); + TEST_ASSERT_EQUAL_FLOAT(result, ergebnis); +} +