diff --git a/build/test/cache/test_Vmultiplier3.c b/build/test/cache/test_Vmultiplier3.c new file mode 100644 index 0000000..cca4aee --- /dev/null +++ b/build/test/cache/test_Vmultiplier3.c @@ -0,0 +1,39 @@ +#include "src/funktion.h" +#include "/var/lib/gems/3.0.0/gems/ceedling-0.31.1/vendor/unity/src/unity.h" + + +void setUp(void) + +{ + +} + + + +void tearDown(void) + +{ + +} + + + +void test_Vmultiplier_NeedToImplement(void) + +{ + + double x3 = 8; + + double m = 2.5; + + double exp = Vmultiplier(x3,m); + + double result = 20; + + UnityAssertFloatsWithin((UNITY_FLOAT)((UNITY_FLOAT)((result)) * (UNITY_FLOAT)(0.00001f)), (UNITY_FLOAT)((UNITY_FLOAT)((result))), (UNITY_FLOAT)((UNITY_FLOAT)((exp))), (( + + ((void *)0) + + )), (UNITY_UINT)((UNITY_UINT)(18))); + +} diff --git a/build/test/dependencies/test_Vmultiplier3.d b/build/test/dependencies/test_Vmultiplier3.d new file mode 100644 index 0000000..b59c54e --- /dev/null +++ b/build/test/dependencies/test_Vmultiplier3.d @@ -0,0 +1,4 @@ +build/test/out/c/test_Vmultiplier3.o: test/test_Vmultiplier3.c \ + /var/lib/gems/3.0.0/gems/ceedling-0.31.1/vendor/unity/src/unity.h \ + /var/lib/gems/3.0.0/gems/ceedling-0.31.1/vendor/unity/src/unity_internals.h \ + src/funktion.h diff --git a/build/test/dependencies/test_Vmultiplier3_runner.d b/build/test/dependencies/test_Vmultiplier3_runner.d new file mode 100644 index 0000000..0699585 --- /dev/null +++ b/build/test/dependencies/test_Vmultiplier3_runner.d @@ -0,0 +1,4 @@ +build/test/out/c/test_Vmultiplier3_runner.o: \ + build/test/runners/test_Vmultiplier3_runner.c \ + /var/lib/gems/3.0.0/gems/ceedling-0.31.1/vendor/unity/src/unity.h \ + /var/lib/gems/3.0.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 ee75ec0..df7a524 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_Vmultiplier3.o b/build/test/out/c/test_Vmultiplier3.o new file mode 100644 index 0000000..b6ab2ef Binary files /dev/null and b/build/test/out/c/test_Vmultiplier3.o differ diff --git a/build/test/out/c/test_Vmultiplier3_runner.o b/build/test/out/c/test_Vmultiplier3_runner.o new file mode 100644 index 0000000..a22a188 Binary files /dev/null and b/build/test/out/c/test_Vmultiplier3_runner.o differ diff --git a/build/test/out/test_Akkortrichtsatz.out b/build/test/out/test_Akkortrichtsatz.out index 810b0e9..0c88d58 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 8e097ba..97f3f42 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 af644a0..fca40d6 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 0e609d4..3eca2bb 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 38f585a..5ce7200 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 2b7caf6..06a6727 100755 Binary files a/build/test/out/test_Cashflow_zu_Gesamtkapital.out and b/build/test/out/test_Cashflow_zu_Gesamtkapital.out differ diff --git a/build/test/out/test_Dynamische_Amortisationszeit.out b/build/test/out/test_Dynamische_Amortisationszeit.out index dcb96e1..3d61386 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 80232ec..5d4af66 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 5c5edfd..1126a7f 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 e704d64..5ac5c47 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 9c98bf6..933fc01 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 caee6e9..4f929f0 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 fbdddc0..a025c81 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 8421566..182b10f 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 4ff1ba4..9e5808a 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 68d5994..386170c 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_Vlength.out b/build/test/out/test_Vlength.out index 5af4f12..590d490 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_Vmultiplier.out b/build/test/out/test_Vmultiplier.out index 4d5fcd4..3112d1e 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 92cc9fd..773930e 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 new file mode 100755 index 0000000..60fb84b Binary files /dev/null and b/build/test/out/test_Vmultiplier3.out differ diff --git a/build/test/out/test_Vshift.out b/build/test/out/test_Vshift.out index 68314a1..70b85a0 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_Vsubstract.out b/build/test/out/test_Vsubstract.out index c168ef4..e275971 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 b202676..37add6f 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 bb83710..f621a39 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 6f0bf61..35b478e 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 80c1ae3..1ffdbfe 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_eigenkapital_Rentabilitaeten.out b/build/test/out/test_eigenkapital_Rentabilitaeten.out index b878853..8d8d375 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 35d3bcb..3e1f886 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 40e35d2..ffb8e2d 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 59c7a00..fa28ae5 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_marktanteil.out b/build/test/out/test_marktanteil.out index 457bee8..1b8a199 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_trapezFlaeche.out b/build/test/out/test_trapezFlaeche.out index 45a0ed6..7dcfbe7 100755 Binary files a/build/test/out/test_trapezFlaeche.out and b/build/test/out/test_trapezFlaeche.out differ diff --git a/build/test/preprocess/files/test_Vmultiplier3.c b/build/test/preprocess/files/test_Vmultiplier3.c new file mode 100644 index 0000000..cca4aee --- /dev/null +++ b/build/test/preprocess/files/test_Vmultiplier3.c @@ -0,0 +1,39 @@ +#include "src/funktion.h" +#include "/var/lib/gems/3.0.0/gems/ceedling-0.31.1/vendor/unity/src/unity.h" + + +void setUp(void) + +{ + +} + + + +void tearDown(void) + +{ + +} + + + +void test_Vmultiplier_NeedToImplement(void) + +{ + + double x3 = 8; + + double m = 2.5; + + double exp = Vmultiplier(x3,m); + + double result = 20; + + UnityAssertFloatsWithin((UNITY_FLOAT)((UNITY_FLOAT)((result)) * (UNITY_FLOAT)(0.00001f)), (UNITY_FLOAT)((UNITY_FLOAT)((result))), (UNITY_FLOAT)((UNITY_FLOAT)((exp))), (( + + ((void *)0) + + )), (UNITY_UINT)((UNITY_UINT)(18))); + +} diff --git a/build/test/preprocess/includes/test_Vmultiplier3.c b/build/test/preprocess/includes/test_Vmultiplier3.c new file mode 100644 index 0000000..4e923ea --- /dev/null +++ b/build/test/preprocess/includes/test_Vmultiplier3.c @@ -0,0 +1,3 @@ +--- +- "/var/lib/gems/3.0.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 d094fe2..b20be52 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.0017879839997476665 +:time: 0.0012911559997519362 diff --git a/build/test/results/test_Anlagenabnutzungsgrad.pass b/build/test/results/test_Anlagenabnutzungsgrad.pass index a52264b..08bf4c3 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.0011863270001413184 +:time: 0.0019098560005659238 diff --git a/build/test/results/test_Anlagenintensitaet.pass b/build/test/results/test_Anlagenintensitaet.pass index 6b2b3c0..7e7b005 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.0013548819997595274 +:time: 0.0014726829995197477 diff --git a/build/test/results/test_Anlagenproduktivitaet.pass b/build/test/results/test_Anlagenproduktivitaet.pass index 28b416f..defdb8b 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.005111892999593692 +:time: 0.0019224850002501626 diff --git a/build/test/results/test_Arbeitsproduktivitaet.pass b/build/test/results/test_Arbeitsproduktivitaet.pass index 0b65698..273e96f 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.001362074999633478 +:time: 0.0012818659997719806 diff --git a/build/test/results/test_Cashflow_zu_Gesamtkapital.pass b/build/test/results/test_Cashflow_zu_Gesamtkapital.pass index 6fe7bd3..bf631be 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.0013153370000509312 +:time: 0.0020142470002610935 diff --git a/build/test/results/test_Dynamische_Amortisationszeit.pass b/build/test/results/test_Dynamische_Amortisationszeit.pass index 5784a0c..86996ea 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.0015316280005208682 +:time: 0.0013134310001987615 diff --git a/build/test/results/test_Effektivverzinsung.pass b/build/test/results/test_Effektivverzinsung.pass index 68336b6..22a5eed 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.0013082690002192976 +:time: 0.0017611009998290683 diff --git a/build/test/results/test_Finanzierungsregeln.pass b/build/test/results/test_Finanzierungsregeln.pass index b6ef904..54b1097 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.0044863940001960145 +:time: 0.0013928930002293782 diff --git a/build/test/results/test_GewinnMaximum.pass b/build/test/results/test_GewinnMaximum.pass index 7974948..7ef191e 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.002447654000206967 +:time: 0.001308646999859775 diff --git a/build/test/results/test_Kalkulatorische_Zinsen.pass b/build/test/results/test_Kalkulatorische_Zinsen.pass index 7893b4f..0f118c5 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.0026904609994744533 +:time: 0.0013207410001996323 diff --git a/build/test/results/test_Kritische_Menge.pass b/build/test/results/test_Kritische_Menge.pass index a76eef7..800b1f9 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.0024274360002891626 +:time: 0.0014193870001690811 diff --git a/build/test/results/test_Stueckzeitakkort.pass b/build/test/results/test_Stueckzeitakkort.pass index 233f453..075ce9a 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.0012672310003836174 +:time: 0.0018349600004512467 diff --git a/build/test/results/test_Vadd.pass b/build/test/results/test_Vadd.pass index ea0088c..5e4666e 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.0011486069997772574 +:time: 0.0012119709999751649 diff --git a/build/test/results/test_Vaddx2.pass b/build/test/results/test_Vaddx2.pass index 00bd535..d8c0c1f 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.0011888209992321208 +:time: 0.0012681789994530845 diff --git a/build/test/results/test_Vaddx3.pass b/build/test/results/test_Vaddx3.pass index f1be38f..97c6197 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.0018598360002215486 +:time: 0.001238550999914878 diff --git a/build/test/results/test_Vlength.pass b/build/test/results/test_Vlength.pass index 5f1d947..55af71c 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.0011884530003953842 +:time: 0.0014226309995137854 diff --git a/build/test/results/test_Vmultiplier.pass b/build/test/results/test_Vmultiplier.pass index 6d316a6..e891cd2 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.001309680999838747 +:time: 0.0012370129998089396 diff --git a/build/test/results/test_Vmultiplier2.pass b/build/test/results/test_Vmultiplier2.pass index 507f1eb..5ec1281 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.0015583599997626152 +:time: 0.0013486049992934568 diff --git a/build/test/results/test_Vmultiplier3.pass b/build/test/results/test_Vmultiplier3.pass new file mode 100644 index 0000000..b5cec32 --- /dev/null +++ b/build/test/results/test_Vmultiplier3.pass @@ -0,0 +1,18 @@ +--- +:source: + :path: test + :file: test_Vmultiplier3.c +:successes: +- :test: test_Vmultiplier_NeedToImplement + :line: 12 + :message: '' + :unity_test_time: 0 +:failures: [] +:ignores: [] +:counts: + :total: 1 + :passed: 1 + :failed: 0 + :ignored: 0 +:stdout: [] +:time: 0.002879390000089188 diff --git a/build/test/results/test_Vshift.pass b/build/test/results/test_Vshift.pass index 07a972f..d102bed 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.0015429700006279745 +:time: 0.0013579579999714042 diff --git a/build/test/results/test_Vsubstract.pass b/build/test/results/test_Vsubstract.pass index 79721f3..b6ae117 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.0011624130002019228 +:time: 0.0011991490000582417 diff --git a/build/test/results/test_Vsubstract2.pass b/build/test/results/test_Vsubstract2.pass index ba574d7..860e7d2 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.0015028279995021876 +:time: 0.0012789960001100553 diff --git a/build/test/results/test_Vsubstract3.pass b/build/test/results/test_Vsubstract3.pass index a248874..bff2b1c 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.0022041729998818482 +:time: 0.0012410979998094263 diff --git a/build/test/results/test_Zeitlohn.pass b/build/test/results/test_Zeitlohn.pass index e30f72f..0fef995 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.0015169349999268888 +:time: 0.0013285459999679006 diff --git a/build/test/results/test_angebotserfolg.pass b/build/test/results/test_angebotserfolg.pass index 9f15802..a80faca 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.0012356400002317969 +:time: 0.0013338449998627766 diff --git a/build/test/results/test_eigenkapital_Rentabilitaeten.pass b/build/test/results/test_eigenkapital_Rentabilitaeten.pass index 2fc0700..b7bb0db 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.0018756720000965288 +:time: 0.001282696000089345 diff --git a/build/test/results/test_erloesfunktion.pass b/build/test/results/test_erloesfunktion.pass index f17b5ee..ce81d5f 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.001238995999301551 +:time: 0.0019819210001514875 diff --git a/build/test/results/test_gesamtkapital_Rentabilitaeten.pass b/build/test/results/test_gesamtkapital_Rentabilitaeten.pass index 4ba40fd..3c57c37 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.0017924490002769744 +:time: 0.0019890120001946343 diff --git a/build/test/results/test_grenzGewinn.pass b/build/test/results/test_grenzGewinn.pass index 2f78c1e..1d33f52 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.001346261999970011 +:time: 0.0012248909997651936 diff --git a/build/test/results/test_marktanteil.pass b/build/test/results/test_marktanteil.pass index 568c297..776f5dd 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.0013595889995485777 +:time: 0.0013815669999530655 diff --git a/build/test/results/test_trapezFlaeche.pass b/build/test/results/test_trapezFlaeche.pass index 710e310..0e0febc 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.0012582679992192425 +:time: 0.002979441999741539 diff --git a/build/test/runners/test_Vmultiplier3_runner.c b/build/test/runners/test_Vmultiplier3_runner.c new file mode 100644 index 0000000..9b53751 --- /dev/null +++ b/build/test/runners/test_Vmultiplier3_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_Vmultiplier_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_Vmultiplier3.c"); + run_test(test_Vmultiplier_NeedToImplement, "test_Vmultiplier_NeedToImplement", 12); + + return UnityEnd(); +} diff --git a/test/test_Vmultiplier3.c b/test/test_Vmultiplier3.c new file mode 100644 index 0000000..2ba0fc7 --- /dev/null +++ b/test/test_Vmultiplier3.c @@ -0,0 +1,19 @@ +#include "unity.h" +#include "funktion.h" + +void setUp(void) +{ +} + +void tearDown(void) +{ +} + +void test_Vmultiplier_NeedToImplement(void) +{ + double x3 = 8; + double m = 2.5; + double exp = Vmultiplier(x3,m); + double result = 20; + TEST_ASSERT_EQUAL_FLOAT(result,exp); +} \ No newline at end of file