diff --git a/build/test/cache/test_velocity.c b/build/test/cache/test_velocity.c new file mode 100644 index 0000000..d2cb200 --- /dev/null +++ b/build/test/cache/test_velocity.c @@ -0,0 +1,47 @@ +#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_velocity_NeedToImplement(void) + +{ + + double a=30; + + double b= 3; + + double c=5; + + double result=velocity(a,b,c); + + double ergebnis=45; + + 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)(22))); + +} diff --git a/build/test/dependencies/test_velocity.d b/build/test/dependencies/test_velocity.d new file mode 100644 index 0000000..78865f0 --- /dev/null +++ b/build/test/dependencies/test_velocity.d @@ -0,0 +1,4 @@ +build/test/out/c/test_velocity.o: test/test_velocity.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_velocity_runner.d b/build/test/dependencies/test_velocity_runner.d new file mode 100644 index 0000000..5567dc1 --- /dev/null +++ b/build/test/dependencies/test_velocity_runner.d @@ -0,0 +1,4 @@ +build/test/out/c/test_velocity_runner.o: \ + build/test/runners/test_velocity_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 f8d39fc..8cf2287 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_velocity.o b/build/test/out/c/test_velocity.o new file mode 100644 index 0000000..1e71436 Binary files /dev/null and b/build/test/out/c/test_velocity.o differ diff --git a/build/test/out/c/test_velocity_runner.o b/build/test/out/c/test_velocity_runner.o new file mode 100644 index 0000000..532636b Binary files /dev/null and b/build/test/out/c/test_velocity_runner.o differ diff --git a/build/test/out/test_Akkortrichtsatz.out b/build/test/out/test_Akkortrichtsatz.out index ccbc46e..9c00728 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 3cdc5de..580ada0 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 a18e3c0..5ec03b1 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 3b9a9be..dad16de 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 c2ffc5a..77523ff 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 261d271..4757dd4 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 82360ca..29dacd7 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 2e95685..f5937d2 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 1a8f6b3..e946fc5 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 6552414..526e929 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 db78c29..50f585f 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 313f881..a54bb4b 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 6a13cc2..678675c 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 a652e96..8b95318 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 65c6d9b..2b10520 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 d6141df..da0d229 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 f40d1be..0a85221 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 c032eb6..6b13de3 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 16908cb..558347c 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 3c11e80..03ccdd6 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 59427ca..6aaaae1 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 d8aeaf5..899d6fd 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 df1f774..5460bba 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 ec83ae9..46867ea 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 c440486..b60f2fe 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 b27b811..c0d2b21 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 3571606..cb79342 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 2d0b16f..912335a 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 183df8f..e56e450 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 3e34854..90fcc34 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 dd38251..440e41b 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 9fff5bf..f826202 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 8387e9e..6e4085a 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 eb07ada..9720630 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 a9f4d56..d32d36f 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 9663c27..d08e447 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 bb102b3..d0375b0 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 3f56ca6..cc1ef4d 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 f64e1cc..126b431 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 1f0b9eb..48d2c7d 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 4cc80a1..a548c55 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 867eef1..fbeb487 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 8c9f4d8..6e4391e 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 e3667fa..5c2337a 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 b45415c..0db2aa0 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 c069c89..f2925bc 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 996cd90..40c3045 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 98e5570..77cd6cd 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 5be28ec..bfed7de 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 4398d43..e1e2136 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 aed28a4..4e3ed16 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 4d4b94d..5ab01d9 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 eab3e0a..ee76bba 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 c54967a..0f3dfee 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 eb39eab..fd65f31 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 be0c51a..742f048 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 278d8c0..90c8e92 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 fe80646..e72f7da 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 0d3ea8a..194a4df 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 10f2651..cdee1c3 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 8c97e65..ad173d9 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 new file mode 100644 index 0000000..a999c23 Binary files /dev/null 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 09b4c4e..3a7f87c 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 a7a514d..04a9f00 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_velocity.c b/build/test/preprocess/files/test_velocity.c new file mode 100644 index 0000000..d2cb200 --- /dev/null +++ b/build/test/preprocess/files/test_velocity.c @@ -0,0 +1,47 @@ +#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_velocity_NeedToImplement(void) + +{ + + double a=30; + + double b= 3; + + double c=5; + + double result=velocity(a,b,c); + + double ergebnis=45; + + 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)(22))); + +} diff --git a/build/test/preprocess/includes/test_velocity.c b/build/test/preprocess/includes/test_velocity.c new file mode 100644 index 0000000..376e2c1 --- /dev/null +++ b/build/test/preprocess/includes/test_velocity.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 38a0800..aef3f42 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.041812899988144636 +:time: 0.045318600023165345 diff --git a/build/test/results/test_Anlagenabnutzungsgrad.pass b/build/test/results/test_Anlagenabnutzungsgrad.pass index 5e2c31e..fe424e7 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.05063119996339083 +:time: 0.04231019993312657 diff --git a/build/test/results/test_Anlagenintensitaet.pass b/build/test/results/test_Anlagenintensitaet.pass index 39362ad..64caeea 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.04035409993957728 +:time: 0.04123610001988709 diff --git a/build/test/results/test_Anlagenproduktivitaet.pass b/build/test/results/test_Anlagenproduktivitaet.pass index 42bc581..68163f0 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.04579520004335791 +:time: 0.03845059999730438 diff --git a/build/test/results/test_Arbeitsproduktivitaet.pass b/build/test/results/test_Arbeitsproduktivitaet.pass index 6da569e..76c5a81 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.042333099991083145 +:time: 0.03889800002798438 diff --git a/build/test/results/test_ByOne.pass b/build/test/results/test_ByOne.pass index 8f496d8..ae43349 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.03453329997137189 +:time: 0.032136800000444055 diff --git a/build/test/results/test_Cashflow_zu_Gesamtkapital.pass b/build/test/results/test_Cashflow_zu_Gesamtkapital.pass index 0161f4c..d79d921 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.044235399924218655 +:time: 0.040331600001081824 diff --git a/build/test/results/test_Division_drei_Zahlen.pass b/build/test/results/test_Division_drei_Zahlen.pass index 4ba38eb..413b236 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.038132800022140145 +:time: 0.0392261000815779 diff --git a/build/test/results/test_Dynamische_Amortisationszeit.pass b/build/test/results/test_Dynamische_Amortisationszeit.pass index 70a9d81..daa131e 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.050013700034469366 +:time: 0.04012059990782291 diff --git a/build/test/results/test_Effektivverzinsung.pass b/build/test/results/test_Effektivverzinsung.pass index 3a6f3b3..cdd7afe 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.046136499964632094 +:time: 0.039319499977864325 diff --git a/build/test/results/test_Finanzierungsregeln.pass b/build/test/results/test_Finanzierungsregeln.pass index 85aeb29..bd3c2d1 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.036788699915632606 +:time: 0.04367319995071739 diff --git a/build/test/results/test_GewinnMaximum.pass b/build/test/results/test_GewinnMaximum.pass index 3a2e68e..8b56882 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.04615100007504225 +:time: 0.03930830000899732 diff --git a/build/test/results/test_Kalkulatorische_Zinsen.pass b/build/test/results/test_Kalkulatorische_Zinsen.pass index a66a8eb..78cf376 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.041405599913559854 +:time: 0.04067839996423572 diff --git a/build/test/results/test_Kritische_Menge.pass b/build/test/results/test_Kritische_Menge.pass index f54a610..361c2d2 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.04161249997559935 +:time: 0.04546470008790493 diff --git a/build/test/results/test_Stueckzeitakkort.pass b/build/test/results/test_Stueckzeitakkort.pass index eace464..eff8de8 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.03843859990593046 +:time: 0.03821090003475547 diff --git a/build/test/results/test_Vadd.pass b/build/test/results/test_Vadd.pass index f09fd81..eaed6a7 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.037378699984401464 +:time: 0.03869040007703006 diff --git a/build/test/results/test_Vaddx2.pass b/build/test/results/test_Vaddx2.pass index d9921bf..34d9147 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.03832900000270456 +:time: 0.04245229996740818 diff --git a/build/test/results/test_Vaddx3.pass b/build/test/results/test_Vaddx3.pass index 1c09d9a..8a9c681 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.040041100000962615 +:time: 0.03826639999169856 diff --git a/build/test/results/test_Vangle.pass b/build/test/results/test_Vangle.pass index 80b5939..e165312 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.03834049997385591 +:time: 0.041715199942700565 diff --git a/build/test/results/test_Vlength.pass b/build/test/results/test_Vlength.pass index 7c0cc03..0d314fd 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.03724640002474189 +:time: 0.03934850008226931 diff --git a/build/test/results/test_Vmiddle.pass b/build/test/results/test_Vmiddle.pass index c527511..f8ee732 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.037795100011862814 +:time: 0.043291599955409765 diff --git a/build/test/results/test_Vmiddle2.pass b/build/test/results/test_Vmiddle2.pass index f739817..887bfb3 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.03794089995790273 +:time: 0.040539000066928566 diff --git a/build/test/results/test_Vmiddle3.pass b/build/test/results/test_Vmiddle3.pass index 4c83e74..3c3a742 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.039541200036183 +:time: 0.03969340003095567 diff --git a/build/test/results/test_Vmultiplier.pass b/build/test/results/test_Vmultiplier.pass index 12f8426..6bb463f 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.037674900027923286 +:time: 0.03872269997373223 diff --git a/build/test/results/test_Vmultiplier2.pass b/build/test/results/test_Vmultiplier2.pass index 3758cc0..df609f0 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.040011400007642806 +:time: 0.03616759995929897 diff --git a/build/test/results/test_Vmultiplier3.pass b/build/test/results/test_Vmultiplier3.pass index 5a1f72e..042d8f4 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.038272300036624074 +:time: 0.041275299969129264 diff --git a/build/test/results/test_Vparallel.pass b/build/test/results/test_Vparallel.pass index 061dd29..1c9e40e 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.039180099964141846 +:time: 0.03747699991799891 diff --git a/build/test/results/test_Vshift.pass b/build/test/results/test_Vshift.pass index 7d26e36..694d0b2 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.03702249994967133 +:time: 0.03669330000411719 diff --git a/build/test/results/test_Vskalort.pass b/build/test/results/test_Vskalort.pass index dc3d6c5..539bb1a 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.03946390002965927 +:time: 0.03718800004571676 diff --git a/build/test/results/test_Vsubstract.pass b/build/test/results/test_Vsubstract.pass index 57b859b..5bcecb3 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.03813020000234246 +:time: 0.04207610001321882 diff --git a/build/test/results/test_Vsubstract2.pass b/build/test/results/test_Vsubstract2.pass index 2044bb1..3eaa91f 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.04103449999820441 +:time: 0.04224490001797676 diff --git a/build/test/results/test_Vsubstract3.pass b/build/test/results/test_Vsubstract3.pass index 3cedc9d..48ac702 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.039294300018809736 +:time: 0.03947989991866052 diff --git a/build/test/results/test_Zeitlohn.pass b/build/test/results/test_Zeitlohn.pass index bb749c1..39a4528 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.038052599993534386 +:time: 0.04512250004336238 diff --git a/build/test/results/test_angebotserfolg.pass b/build/test/results/test_angebotserfolg.pass index 7e14b17..8b14699 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.04513530002441257 +:time: 0.039639499969780445 diff --git a/build/test/results/test_binomial_coefficient.pass b/build/test/results/test_binomial_coefficient.pass index 5bb577c..79db349 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.041113399900496006 +:time: 0.0398875999962911 diff --git a/build/test/results/test_boolesche_nicht.pass b/build/test/results/test_boolesche_nicht.pass index 9f8d109..541f482 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.04052150005009025 +:time: 0.046608799952082336 diff --git a/build/test/results/test_boolesche_oder.pass b/build/test/results/test_boolesche_oder.pass index 6f3e4eb..8cbf501 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.037987599964253604 +:time: 0.03911400004290044 diff --git a/build/test/results/test_boolesche_und.pass b/build/test/results/test_boolesche_und.pass index afd40cf..500c8ff 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.0393041999777779 +:time: 0.03816719993483275 diff --git a/build/test/results/test_dezimal_binar_linksverschiebung.pass b/build/test/results/test_dezimal_binar_linksverschiebung.pass index 7bb4a64..255f8e4 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.043281399994157255 +:time: 0.03797830000985414 diff --git a/build/test/results/test_dezimal_binar_rechtsverschiebung.pass b/build/test/results/test_dezimal_binar_rechtsverschiebung.pass index 686f7b0..d0673e7 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.04348940006457269 +:time: 0.03876619995571673 diff --git a/build/test/results/test_dezimal_to_bin.pass b/build/test/results/test_dezimal_to_bin.pass index fcafa6f..38a6fd5 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.041857499978505075 +:time: 0.03631559992209077 diff --git a/build/test/results/test_dreieckFlaeche.pass b/build/test/results/test_dreieckFlaeche.pass index 2f55506..ddb458d 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.03648020001128316 +:time: 0.03823959990404546 diff --git a/build/test/results/test_dreieckUmfang.pass b/build/test/results/test_dreieckUmfang.pass index cf590bf..607e2c2 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.03880290000233799 +:time: 0.03828420001082122 diff --git a/build/test/results/test_eigenkapital_Rentabilitaeten.pass b/build/test/results/test_eigenkapital_Rentabilitaeten.pass index ec8d073..ce874a3 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.042293400038033724 +:time: 0.03600009996443987 diff --git a/build/test/results/test_erloesfunktion.pass b/build/test/results/test_erloesfunktion.pass index 8444287..5896ea5 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.03740769997239113 +:time: 0.037138500018045306 diff --git a/build/test/results/test_gesamtkapital_Rentabilitaeten.pass b/build/test/results/test_gesamtkapital_Rentabilitaeten.pass index 8b0e3c6..ac35440 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.05062810005620122 +:time: 0.03690870001446456 diff --git a/build/test/results/test_grenzGewinn.pass b/build/test/results/test_grenzGewinn.pass index ebc28bb..fe739cb 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.03539430000819266 +:time: 0.04669679992366582 diff --git a/build/test/results/test_grundwert.pass b/build/test/results/test_grundwert.pass index a6f70cf..aea564f 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.03619100002106279 +:time: 0.03903240000363439 diff --git a/build/test/results/test_kreisFlaeche.pass b/build/test/results/test_kreisFlaeche.pass index 737a3af..86eb8eb 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.0380585000384599 +:time: 0.03995679994113743 diff --git a/build/test/results/test_kreisUmfang.pass b/build/test/results/test_kreisUmfang.pass index 45fbfb5..cdc963a 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.03748130006715655 +:time: 0.040040899999439716 diff --git a/build/test/results/test_marktanteil.pass b/build/test/results/test_marktanteil.pass index f792119..a3716ea 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.04996880004182458 +:time: 0.03773929993622005 diff --git a/build/test/results/test_multiplikation_2Zahlen.pass b/build/test/results/test_multiplikation_2Zahlen.pass index 3ad8e22..3d626e1 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.04218730004504323 +:time: 0.04364619997795671 diff --git a/build/test/results/test_multiplikation_3Zahlen.pass b/build/test/results/test_multiplikation_3Zahlen.pass index c5f9573..6a8bd32 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.04176180006470531 +:time: 0.04346299997996539 diff --git a/build/test/results/test_normaleDivision.pass b/build/test/results/test_normaleDivision.pass index d35210a..3ce5d79 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.03677030000835657 +:time: 0.038057100027799606 diff --git a/build/test/results/test_probability_from_tree.pass b/build/test/results/test_probability_from_tree.pass index 43fc478..b5b9f24 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.03989799995906651 +:time: 0.03757390007376671 diff --git a/build/test/results/test_prozentsatz.pass b/build/test/results/test_prozentsatz.pass index b5e0deb..ece9fe7 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.04737430007662624 +:time: 0.04316080000717193 diff --git a/build/test/results/test_prozentwert.pass b/build/test/results/test_prozentwert.pass index fa0c87e..383ab9c 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.03618559997994453 +:time: 0.04325710004195571 diff --git a/build/test/results/test_substraction_2Zahlen.pass b/build/test/results/test_substraction_2Zahlen.pass index c44fce5..2b71cd5 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.03947540000081062 +:time: 0.03854660002980381 diff --git a/build/test/results/test_substraction_3Zahlen.pass b/build/test/results/test_substraction_3Zahlen.pass index de49668..861c340 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.03821260004770011 +:time: 0.03991319995839149 diff --git a/build/test/results/test_trapezFlaeche.pass b/build/test/results/test_trapezFlaeche.pass index f03ed1b..beee60f 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.041693100007250905 +:time: 0.04302890005055815 diff --git a/build/test/results/test_trapezUmfang.pass b/build/test/results/test_trapezUmfang.pass index 47a7d08..bd1ea38 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.05388340004719794 +:time: 0.03910289995837957 diff --git a/build/test/results/test_vPunkt.pass b/build/test/results/test_vPunkt.pass index b222f25..91a1376 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.03874820005148649 +:time: 0.04935270000714809 diff --git a/build/test/results/test_velocity.pass b/build/test/results/test_velocity.pass new file mode 100644 index 0000000..2381886 --- /dev/null +++ b/build/test/results/test_velocity.pass @@ -0,0 +1,19 @@ +--- +:source: + :path: test + :file: test_velocity.c +:successes: +- :test: test_velocity_NeedToImplement + :line: 14 + :message: '' + :unity_test_time: 0 +:failures: [] +:ignores: [] +:counts: + :total: 1 + :passed: 1 + :failed: 0 + :ignored: 0 +:stdout: +- 45.000000Testergebniss 0 +:time: 0.04071169998496771 diff --git a/build/test/results/test_viereckFleache.pass b/build/test/results/test_viereckFleache.pass index 9484ccd..7e6daf3 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.037146400078199804 +:time: 0.037668899982236326 diff --git a/build/test/results/test_viereckUmfang.pass b/build/test/results/test_viereckUmfang.pass index 079cc88..07d91a6 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.03753169998526573 +:time: 0.04132910002954304 diff --git a/build/test/runners/test_velocity_runner.c b/build/test/runners/test_velocity_runner.c new file mode 100644 index 0000000..64cae40 --- /dev/null +++ b/build/test/runners/test_velocity_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_velocity_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_velocity.c"); + run_test(test_velocity_NeedToImplement, "test_velocity_NeedToImplement", 14); + + return UnityEnd(); +} diff --git a/test/test_velocity.c b/test/test_velocity.c new file mode 100644 index 0000000..83d38a4 --- /dev/null +++ b/test/test_velocity.c @@ -0,0 +1,25 @@ + +#include "unity.h" +#include "funktion.h" + + +void setUp(void) +{ +} + +void tearDown(void) +{ +} + +void test_velocity_NeedToImplement(void) +{ + double a=30; + double b= 3; + double c=5; + double result=velocity(a,b,c); + double ergebnis=45; + printf("Testergebniss %d", ergebnis); + TEST_ASSERT_EQUAL_FLOAT(result, ergebnis); +} + +