diff --git a/build/test/cache/test_substraction_2Zahlen.c b/build/test/cache/test_substraction_2Zahlen.c new file mode 100644 index 0000000..b0cf1a7 --- /dev/null +++ b/build/test/cache/test_substraction_2Zahlen.c @@ -0,0 +1,45 @@ +#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_substraction_2Zahlen_NeedToImplement(void) + +{ + + double a=9; + + double b= 3; + + double result=substraction_2Zahlen(a,b); + + double ergebnis=6; + + 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)(21))); + +} diff --git a/build/test/dependencies/test_substraction_2Zahlen.d b/build/test/dependencies/test_substraction_2Zahlen.d new file mode 100644 index 0000000..2d36f0f --- /dev/null +++ b/build/test/dependencies/test_substraction_2Zahlen.d @@ -0,0 +1,5 @@ +build/test/out/c/test_substraction_2Zahlen.o: \ + test/test_substraction_2Zahlen.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_substraction_2Zahlen_runner.d b/build/test/dependencies/test_substraction_2Zahlen_runner.d new file mode 100644 index 0000000..ea008f4 --- /dev/null +++ b/build/test/dependencies/test_substraction_2Zahlen_runner.d @@ -0,0 +1,4 @@ +build/test/out/c/test_substraction_2Zahlen_runner.o: \ + build/test/runners/test_substraction_2Zahlen_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 a271199..c416173 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_substraction_2Zahlen.o b/build/test/out/c/test_substraction_2Zahlen.o new file mode 100644 index 0000000..bfa66c3 Binary files /dev/null and b/build/test/out/c/test_substraction_2Zahlen.o differ diff --git a/build/test/out/c/test_substraction_2Zahlen_runner.o b/build/test/out/c/test_substraction_2Zahlen_runner.o new file mode 100644 index 0000000..11501b3 Binary files /dev/null and b/build/test/out/c/test_substraction_2Zahlen_runner.o differ diff --git a/build/test/out/test_Akkortrichtsatz.out b/build/test/out/test_Akkortrichtsatz.out index 465e256..18df8ba 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 c6d0383..15bfccc 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 d582250..c02c270 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 8b37bb0..7b1eda5 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 88e5f93..2872372 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 fe315a6..f936b01 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 1c015fa..d7beff7 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 8ed59be..ef1ece2 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 dba4175..23baeca 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 e23f71d..9301dbb 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 4aaf82d..956566f 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 17d8be2..8b2491f 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 978b815..f220c22 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 763cefb..1855c35 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 cffb996..cf75612 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 32c1164..91ea858 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 caf846c..05ff655 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 524eb27..0c36b96 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 71194b7..2affbbc 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 9094bdb..cbeef57 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 900d2d7..1e7fc0d 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 0d37a1d..eacf3b8 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 67c61a0..04da1b5 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 a3ef9db..6e99667 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 c81298e..fe0361f 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 5bd633a..3c705f2 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 61ee5ec..adf658d 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 acbccf0..3049105 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 cdd32a4..e463122 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 8bba238..242c5d6 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 f355e85..58757c5 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 ae3fe29..a55bc77 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 626fc9a..f154c1b 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 67823e0..8394d16 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 51b5e54..c3f6b17 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 e15c12b..ee32772 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 94688e5..2b92c9d 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 1ed22d4..bc874e1 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 a541dab..1a4b62c 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 ec97516..c448d18 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 5dbfb43..a02e8b0 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 940c048..680d3e1 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 ed9d3c7..ef72619 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 288ee3a..5f6367e 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 64e4bd9..2ed412d 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 f599a39..0ef10d0 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 722b7a2..c49f53e 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 66a0ed9..87b8135 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 4aae1e5..36de9db 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 daf7470..0c8261c 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 8152de5..6d57d65 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 818eec0..a2ace1f 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 9a38157..4c8b99d 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_probability_from_tree.out b/build/test/out/test_probability_from_tree.out index 3ed919a..776f1a4 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 5585002..3f5fa4d 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 6f92991..46dd17c 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 new file mode 100644 index 0000000..a2eab82 Binary files /dev/null and b/build/test/out/test_substraction_2Zahlen.out differ diff --git a/build/test/out/test_trapezFlaeche.out b/build/test/out/test_trapezFlaeche.out index 3f1e02b..acc2a30 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 5c64b1e..49e7034 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 2951532..fc95545 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 be433d3..5b96ad0 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 d7625e0..04b1c58 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_substraction_2Zahlen.c b/build/test/preprocess/files/test_substraction_2Zahlen.c new file mode 100644 index 0000000..b0cf1a7 --- /dev/null +++ b/build/test/preprocess/files/test_substraction_2Zahlen.c @@ -0,0 +1,45 @@ +#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_substraction_2Zahlen_NeedToImplement(void) + +{ + + double a=9; + + double b= 3; + + double result=substraction_2Zahlen(a,b); + + double ergebnis=6; + + 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)(21))); + +} diff --git a/build/test/preprocess/includes/test_substraction_2Zahlen.c b/build/test/preprocess/includes/test_substraction_2Zahlen.c new file mode 100644 index 0000000..376e2c1 --- /dev/null +++ b/build/test/preprocess/includes/test_substraction_2Zahlen.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 512c525..263d7d6 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.4840715000173077 +:time: 0.04392960004042834 diff --git a/build/test/results/test_Anlagenabnutzungsgrad.pass b/build/test/results/test_Anlagenabnutzungsgrad.pass index 06351c4..49bdafa 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.4204150000587106 +:time: 0.04155640001408756 diff --git a/build/test/results/test_Anlagenintensitaet.pass b/build/test/results/test_Anlagenintensitaet.pass index d889198..191685e 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.44694369996432215 +:time: 0.0465790000744164 diff --git a/build/test/results/test_Anlagenproduktivitaet.pass b/build/test/results/test_Anlagenproduktivitaet.pass index 2fcd25e..ed7f6ab 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.4416330000385642 +:time: 0.05075399996712804 diff --git a/build/test/results/test_Arbeitsproduktivitaet.pass b/build/test/results/test_Arbeitsproduktivitaet.pass index a17c022..774f491 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.4428711000364274 +:time: 0.05171409994363785 diff --git a/build/test/results/test_ByOne.pass b/build/test/results/test_ByOne.pass index f648a4e..829cc24 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.03309589996933937 +:time: 0.03472150000743568 diff --git a/build/test/results/test_Cashflow_zu_Gesamtkapital.pass b/build/test/results/test_Cashflow_zu_Gesamtkapital.pass index 7e8e161..817c2b5 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.43137150001712143 +:time: 0.056753499899059534 diff --git a/build/test/results/test_Division_drei_Zahlen.pass b/build/test/results/test_Division_drei_Zahlen.pass index e936ba1..16178eb 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.42472360003739595 +:time: 0.046392599935643375 diff --git a/build/test/results/test_Dynamische_Amortisationszeit.pass b/build/test/results/test_Dynamische_Amortisationszeit.pass index a9930f9..8867d59 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.5833412000210956 +:time: 0.04911649995483458 diff --git a/build/test/results/test_Effektivverzinsung.pass b/build/test/results/test_Effektivverzinsung.pass index 07e071b..a26c52d 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.4492661999538541 +:time: 0.038067799992859364 diff --git a/build/test/results/test_Finanzierungsregeln.pass b/build/test/results/test_Finanzierungsregeln.pass index ad94f50..1dfbab5 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.4814575999043882 +:time: 0.0475328000029549 diff --git a/build/test/results/test_GewinnMaximum.pass b/build/test/results/test_GewinnMaximum.pass index a441592..b348b43 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.4491357000079006 +:time: 0.04916850000154227 diff --git a/build/test/results/test_Kalkulatorische_Zinsen.pass b/build/test/results/test_Kalkulatorische_Zinsen.pass index 98ed3f0..19877af 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.4515962000004947 +:time: 0.040841100038960576 diff --git a/build/test/results/test_Kritische_Menge.pass b/build/test/results/test_Kritische_Menge.pass index e3eb662..fe4f347 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.30763329996261746 +:time: 0.03959900001063943 diff --git a/build/test/results/test_Stueckzeitakkort.pass b/build/test/results/test_Stueckzeitakkort.pass index ad66fc2..d06edeb 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.4372661999659613 +:time: 0.03856709995307028 diff --git a/build/test/results/test_Vadd.pass b/build/test/results/test_Vadd.pass index f62a4a4..6b0a43e 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.467227500048466 +:time: 0.04302449990063906 diff --git a/build/test/results/test_Vaddx2.pass b/build/test/results/test_Vaddx2.pass index afe1eee..5130058 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.4638379999669269 +:time: 0.036290899966843426 diff --git a/build/test/results/test_Vaddx3.pass b/build/test/results/test_Vaddx3.pass index 42cb670..e4de8ff 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.3246948999585584 +:time: 0.03739129996392876 diff --git a/build/test/results/test_Vangle.pass b/build/test/results/test_Vangle.pass index f784bdb..4001cd5 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.4268918000161648 +:time: 0.03688629996031523 diff --git a/build/test/results/test_Vlength.pass b/build/test/results/test_Vlength.pass index b13638f..7313900 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.4330299000721425 +:time: 0.0372446000110358 diff --git a/build/test/results/test_Vmiddle.pass b/build/test/results/test_Vmiddle.pass index 16f6e3a..1eb5c46 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.4383218999719247 +:time: 0.03687009995337576 diff --git a/build/test/results/test_Vmiddle2.pass b/build/test/results/test_Vmiddle2.pass index caa35d1..5817511 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.4377159000141546 +:time: 0.03752070001792163 diff --git a/build/test/results/test_Vmiddle3.pass b/build/test/results/test_Vmiddle3.pass index ffffb87..6e637a8 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.42700210004113615 +:time: 0.04247009998653084 diff --git a/build/test/results/test_Vmultiplier.pass b/build/test/results/test_Vmultiplier.pass index 3eaa3ae..b252d2e 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.3096657000714913 +:time: 0.04083589999936521 diff --git a/build/test/results/test_Vmultiplier2.pass b/build/test/results/test_Vmultiplier2.pass index def90ca..477e021 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.44063119997736067 +:time: 0.038575599901378155 diff --git a/build/test/results/test_Vmultiplier3.pass b/build/test/results/test_Vmultiplier3.pass index 75bbfd1..7f4fa97 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.4084840000141412 +:time: 0.04022419999819249 diff --git a/build/test/results/test_Vparallel.pass b/build/test/results/test_Vparallel.pass index 9555109..b3ac4f9 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.427929800003767 +:time: 0.04502860002685338 diff --git a/build/test/results/test_Vshift.pass b/build/test/results/test_Vshift.pass index 98d9a39..683a377 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.4569043000228703 +:time: 0.040051200077869 diff --git a/build/test/results/test_Vskalort.pass b/build/test/results/test_Vskalort.pass index 9c5f33f..64b636f 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.4384365000296384 +:time: 0.041860700002871454 diff --git a/build/test/results/test_Vsubstract.pass b/build/test/results/test_Vsubstract.pass index b3ee25a..ab45aef 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.4353353000478819 +:time: 0.03910719999112189 diff --git a/build/test/results/test_Vsubstract2.pass b/build/test/results/test_Vsubstract2.pass index 216df9f..d7b918e 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.45905529998708516 +:time: 0.03782219998538494 diff --git a/build/test/results/test_Vsubstract3.pass b/build/test/results/test_Vsubstract3.pass index 7f51535..d9a9bec 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.43926289991941303 +:time: 0.04040049994364381 diff --git a/build/test/results/test_Zeitlohn.pass b/build/test/results/test_Zeitlohn.pass index 0d403c2..cca3fe4 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.32874220004305243 +:time: 0.03701079997699708 diff --git a/build/test/results/test_angebotserfolg.pass b/build/test/results/test_angebotserfolg.pass index 79993a7..bd56b04 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.42798190005123615 +:time: 0.03802499989978969 diff --git a/build/test/results/test_binomial_coefficient.pass b/build/test/results/test_binomial_coefficient.pass index 3d2b219..9edb4cb 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.9444825999671593 +:time: 0.041911999927833676 diff --git a/build/test/results/test_boolesche_nicht.pass b/build/test/results/test_boolesche_nicht.pass index d0cd060..efc4fc9 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.40948239993304014 +:time: 0.036796299973502755 diff --git a/build/test/results/test_boolesche_oder.pass b/build/test/results/test_boolesche_oder.pass index 5a68def..a06f0a8 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.6229292000643909 +:time: 0.035948499920777977 diff --git a/build/test/results/test_boolesche_und.pass b/build/test/results/test_boolesche_und.pass index 804ba0b..c8e3f76 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.03867620008531958 +:time: 0.03845929994713515 diff --git a/build/test/results/test_dezimal_binar_linksverschiebung.pass b/build/test/results/test_dezimal_binar_linksverschiebung.pass index 019f5ba..570063c 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.04448190005496144 +:time: 0.04192180000245571 diff --git a/build/test/results/test_dezimal_binar_rechtsverschiebung.pass b/build/test/results/test_dezimal_binar_rechtsverschiebung.pass index 9fad4ce..9ffa393 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.05206289992202073 +:time: 0.04452530003618449 diff --git a/build/test/results/test_dezimal_to_bin.pass b/build/test/results/test_dezimal_to_bin.pass index 05c7e14..83f02ff 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.039089500089176 +:time: 0.03994439996313304 diff --git a/build/test/results/test_dreieckFlaeche.pass b/build/test/results/test_dreieckFlaeche.pass index 382171c..d053810 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.039860300021246076 +:time: 0.038285300019197166 diff --git a/build/test/results/test_dreieckUmfang.pass b/build/test/results/test_dreieckUmfang.pass index 8155842..2225e63 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.03854510001838207 +:time: 0.03795889997854829 diff --git a/build/test/results/test_eigenkapital_Rentabilitaeten.pass b/build/test/results/test_eigenkapital_Rentabilitaeten.pass index 32a5497..d0833a8 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.04370569996535778 +:time: 0.040601200074888766 diff --git a/build/test/results/test_erloesfunktion.pass b/build/test/results/test_erloesfunktion.pass index 37555a0..840c0d0 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.03875249996781349 +:time: 0.038686900050379336 diff --git a/build/test/results/test_gesamtkapital_Rentabilitaeten.pass b/build/test/results/test_gesamtkapital_Rentabilitaeten.pass index 11f0eed..e055017 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.045180700020864606 +:time: 0.04825859994161874 diff --git a/build/test/results/test_grenzGewinn.pass b/build/test/results/test_grenzGewinn.pass index 7612f01..4a840bc 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.039516499964520335 +:time: 0.03902279993053526 diff --git a/build/test/results/test_grundwert.pass b/build/test/results/test_grundwert.pass index bdfba99..15023c8 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.038103200029581785 +:time: 0.036341700004413724 diff --git a/build/test/results/test_kreisFlaeche.pass b/build/test/results/test_kreisFlaeche.pass index 21f3140..612b30d 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.04113949998281896 +:time: 0.04184800002258271 diff --git a/build/test/results/test_kreisUmfang.pass b/build/test/results/test_kreisUmfang.pass index 29533d3..9bc13b7 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.037510800058953464 +:time: 0.039109400007873774 diff --git a/build/test/results/test_marktanteil.pass b/build/test/results/test_marktanteil.pass index aa46095..8e3642d 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.04264700005296618 +:time: 0.04170880001038313 diff --git a/build/test/results/test_multiplikation_2Zahlen.pass b/build/test/results/test_multiplikation_2Zahlen.pass index 03bc818..8f09163 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.044044299982488155 +:time: 0.04486419993918389 diff --git a/build/test/results/test_multiplikation_3Zahlen.pass b/build/test/results/test_multiplikation_3Zahlen.pass index de433a2..95609b4 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.15221420000307262 +:time: 0.05192550003994256 diff --git a/build/test/results/test_normaleDivision.pass b/build/test/results/test_normaleDivision.pass index 93f1f6b..ffa81f9 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.04024589993059635 +:time: 0.03704950003884733 diff --git a/build/test/results/test_probability_from_tree.pass b/build/test/results/test_probability_from_tree.pass index e026b50..8431c34 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.05252999998629093 +:time: 0.041820199927315116 diff --git a/build/test/results/test_prozentsatz.pass b/build/test/results/test_prozentsatz.pass index 3c81036..600e7a1 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.05068420001771301 +:time: 0.05167499999515712 diff --git a/build/test/results/test_prozentwert.pass b/build/test/results/test_prozentwert.pass index b6ea06a..cae89dc 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.04115469998214394 +:time: 0.0373572000535205 diff --git a/build/test/results/test_substraction_2Zahlen.pass b/build/test/results/test_substraction_2Zahlen.pass new file mode 100644 index 0000000..e63f17c --- /dev/null +++ b/build/test/results/test_substraction_2Zahlen.pass @@ -0,0 +1,19 @@ +--- +:source: + :path: test + :file: test_substraction_2Zahlen.c +:successes: +- :test: test_substraction_2Zahlen_NeedToImplement + :line: 14 + :message: '' + :unity_test_time: 0 +:failures: [] +:ignores: [] +:counts: + :total: 1 + :passed: 1 + :failed: 0 + :ignored: 0 +:stdout: +- 'Ergebniss : 0Testergebniss 0' +:time: 0.039079700014553964 diff --git a/build/test/results/test_trapezFlaeche.pass b/build/test/results/test_trapezFlaeche.pass index 8a8d7ab..021a9ce 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.03860950004309416 +:time: 0.04063409997615963 diff --git a/build/test/results/test_trapezUmfang.pass b/build/test/results/test_trapezUmfang.pass index 3c59a77..a491113 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.03850240004248917 +:time: 0.04175660002510995 diff --git a/build/test/results/test_vPunkt.pass b/build/test/results/test_vPunkt.pass index e2aa29b..bc52736 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.03931330004706979 +:time: 0.037849499960429966 diff --git a/build/test/results/test_viereckFleache.pass b/build/test/results/test_viereckFleache.pass index 7e6707a..2299cb4 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.03720460005570203 +:time: 0.03753819991834462 diff --git a/build/test/results/test_viereckUmfang.pass b/build/test/results/test_viereckUmfang.pass index adebe3f..571f947 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.037185900029726326 +:time: 0.03939200006425381 diff --git a/build/test/runners/test_substraction_2Zahlen_runner.c b/build/test/runners/test_substraction_2Zahlen_runner.c new file mode 100644 index 0000000..79ba37e --- /dev/null +++ b/build/test/runners/test_substraction_2Zahlen_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_substraction_2Zahlen_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_substraction_2Zahlen.c"); + run_test(test_substraction_2Zahlen_NeedToImplement, "test_substraction_2Zahlen_NeedToImplement", 14); + + return UnityEnd(); +} diff --git a/test/test_substraction_2Zahlen.c b/test/test_substraction_2Zahlen.c new file mode 100644 index 0000000..fc58fec --- /dev/null +++ b/test/test_substraction_2Zahlen.c @@ -0,0 +1,24 @@ + + +#include "unity.h" +#include "funktion.h" + +void setUp(void) +{ +} + +void tearDown(void) +{ +} + +void test_substraction_2Zahlen_NeedToImplement(void) +{ + double a=9; + double b= 3; + double result=substraction_2Zahlen(a,b); + double ergebnis=6; + printf("Testergebniss %d", ergebnis); + TEST_ASSERT_EQUAL_FLOAT(result, ergebnis); +} + +