Browse Source

test_prozentsatz

main
Fdai7396 2 years ago
parent
commit
e1058905dd
  1. 39
      build/test/cache/test_prozentsatz.c
  2. 4
      build/test/dependencies/test_prozentsatz.d
  3. 4
      build/test/dependencies/test_prozentsatz_runner.d
  4. BIN
      build/test/out/c/funktion.o
  5. BIN
      build/test/out/c/test_prozentsatz.o
  6. BIN
      build/test/out/c/test_prozentsatz_runner.o
  7. BIN
      build/test/out/test_Akkortrichtsatz.out
  8. BIN
      build/test/out/test_Anlagenabnutzungsgrad.out
  9. BIN
      build/test/out/test_Anlagenintensitaet.out
  10. BIN
      build/test/out/test_Anlagenproduktivitaet.out
  11. BIN
      build/test/out/test_Arbeitsproduktivitaet.out
  12. BIN
      build/test/out/test_Cashflow_zu_Gesamtkapital.out
  13. BIN
      build/test/out/test_Dynamische_Amortisationszeit.out
  14. BIN
      build/test/out/test_Effektivverzinsung.out
  15. BIN
      build/test/out/test_Finanzierungsregeln.out
  16. BIN
      build/test/out/test_GewinnMaximum.out
  17. BIN
      build/test/out/test_Kalkulatorische_Zinsen.out
  18. BIN
      build/test/out/test_Kritische_Menge.out
  19. BIN
      build/test/out/test_Stueckzeitakkort.out
  20. BIN
      build/test/out/test_Vadd.out
  21. BIN
      build/test/out/test_Vaddx2.out
  22. BIN
      build/test/out/test_Vaddx3.out
  23. BIN
      build/test/out/test_Vangle.out
  24. BIN
      build/test/out/test_Vlength.out
  25. BIN
      build/test/out/test_Vmiddle.out
  26. BIN
      build/test/out/test_Vmiddle2.out
  27. BIN
      build/test/out/test_Vmiddle3.out
  28. BIN
      build/test/out/test_Vmultiplier.out
  29. BIN
      build/test/out/test_Vmultiplier2.out
  30. BIN
      build/test/out/test_Vmultiplier3.out
  31. BIN
      build/test/out/test_Vparallel.out
  32. BIN
      build/test/out/test_Vshift.out
  33. BIN
      build/test/out/test_Vskalort.out
  34. BIN
      build/test/out/test_Vsubstract.out
  35. BIN
      build/test/out/test_Vsubstract2.out
  36. BIN
      build/test/out/test_Vsubstract3.out
  37. BIN
      build/test/out/test_Zeitlohn.out
  38. BIN
      build/test/out/test_angebotserfolg.out
  39. BIN
      build/test/out/test_binomial_coefficient.out
  40. BIN
      build/test/out/test_boolesche_nicht.out
  41. BIN
      build/test/out/test_boolesche_oder.out
  42. BIN
      build/test/out/test_boolesche_und.out
  43. BIN
      build/test/out/test_dezimal_binar_linksverschiebung.out
  44. BIN
      build/test/out/test_dezimal_binar_rechtsverschiebung.out
  45. BIN
      build/test/out/test_dezimal_to_bin.out
  46. BIN
      build/test/out/test_eigenkapital_Rentabilitaeten.out
  47. BIN
      build/test/out/test_erloesfunktion.out
  48. BIN
      build/test/out/test_gesamtkapital_Rentabilitaeten.out
  49. BIN
      build/test/out/test_grenzGewinn.out
  50. BIN
      build/test/out/test_marktanteil.out
  51. BIN
      build/test/out/test_probability_from_tree.out
  52. BIN
      build/test/out/test_prozentsatz.out
  53. BIN
      build/test/out/test_prozentwert.out
  54. BIN
      build/test/out/test_trapezFlaeche.out
  55. BIN
      build/test/out/test_vPunkt.out
  56. 39
      build/test/preprocess/files/test_prozentsatz.c
  57. 3
      build/test/preprocess/includes/test_prozentsatz.c
  58. 2
      build/test/results/test_Akkortrichtsatz.pass
  59. 2
      build/test/results/test_Anlagenabnutzungsgrad.pass
  60. 2
      build/test/results/test_Anlagenintensitaet.pass
  61. 2
      build/test/results/test_Anlagenproduktivitaet.pass
  62. 2
      build/test/results/test_Arbeitsproduktivitaet.pass
  63. 2
      build/test/results/test_ByOne.pass
  64. 2
      build/test/results/test_Cashflow_zu_Gesamtkapital.pass
  65. 2
      build/test/results/test_Dynamische_Amortisationszeit.pass
  66. 2
      build/test/results/test_Effektivverzinsung.pass
  67. 2
      build/test/results/test_Finanzierungsregeln.pass
  68. 2
      build/test/results/test_GewinnMaximum.pass
  69. 2
      build/test/results/test_Kalkulatorische_Zinsen.pass
  70. 2
      build/test/results/test_Kritische_Menge.pass
  71. 2
      build/test/results/test_Stueckzeitakkort.pass
  72. 2
      build/test/results/test_Vadd.pass
  73. 2
      build/test/results/test_Vaddx2.pass
  74. 2
      build/test/results/test_Vaddx3.pass
  75. 2
      build/test/results/test_Vangle.pass
  76. 2
      build/test/results/test_Vlength.pass
  77. 2
      build/test/results/test_Vmiddle.pass
  78. 2
      build/test/results/test_Vmiddle2.pass
  79. 2
      build/test/results/test_Vmiddle3.pass
  80. 2
      build/test/results/test_Vmultiplier.pass
  81. 2
      build/test/results/test_Vmultiplier2.pass
  82. 2
      build/test/results/test_Vmultiplier3.pass
  83. 2
      build/test/results/test_Vparallel.pass
  84. 2
      build/test/results/test_Vshift.pass
  85. 2
      build/test/results/test_Vskalort.pass
  86. 2
      build/test/results/test_Vsubstract.pass
  87. 2
      build/test/results/test_Vsubstract2.pass
  88. 2
      build/test/results/test_Vsubstract3.pass
  89. 2
      build/test/results/test_Zeitlohn.pass
  90. 2
      build/test/results/test_angebotserfolg.pass
  91. 2
      build/test/results/test_binomial_coefficient.pass
  92. 2
      build/test/results/test_boolesche_nicht.pass
  93. 2
      build/test/results/test_boolesche_oder.pass
  94. 2
      build/test/results/test_boolesche_und.pass
  95. 2
      build/test/results/test_dezimal_binar_linksverschiebung.pass
  96. 2
      build/test/results/test_dezimal_binar_rechtsverschiebung.pass
  97. 2
      build/test/results/test_dezimal_to_bin.pass
  98. 2
      build/test/results/test_eigenkapital_Rentabilitaeten.pass
  99. 2
      build/test/results/test_erloesfunktion.pass
  100. 2
      build/test/results/test_gesamtkapital_Rentabilitaeten.pass

39
build/test/cache/test_prozentsatz.c

@ -0,0 +1,39 @@
#include "src/funktion.h"
#include "C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/ceedling-0.31.1/vendor/unity/src/unity.h"
void setUp(void)
{
}
void tearDown(void)
{
}
void test_prozentsatz_NeedToImplement(void) {
double prozent = 8;
double ein = 9;
double result = prozentsatz(prozent, ein);
double ergebnis = (ein / prozent);
UnityAssertFloatsWithin((UNITY_FLOAT)((UNITY_FLOAT)((ergebnis)) * (UNITY_FLOAT)(0.00001f)), (UNITY_FLOAT)((UNITY_FLOAT)((ergebnis))), (UNITY_FLOAT)((UNITY_FLOAT)((result))), ((
((void *)0)
)), (UNITY_UINT)((UNITY_UINT)(18)));
}

4
build/test/dependencies/test_prozentsatz.d

@ -0,0 +1,4 @@
build/test/out/c/test_prozentsatz.o: test/test_prozentsatz.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

4
build/test/dependencies/test_prozentsatz_runner.d

@ -0,0 +1,4 @@
build/test/out/c/test_prozentsatz_runner.o: \
build/test/runners/test_prozentsatz_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

BIN
build/test/out/c/funktion.o

BIN
build/test/out/c/test_prozentsatz.o

BIN
build/test/out/c/test_prozentsatz_runner.o

BIN
build/test/out/test_Akkortrichtsatz.out

BIN
build/test/out/test_Anlagenabnutzungsgrad.out

BIN
build/test/out/test_Anlagenintensitaet.out

BIN
build/test/out/test_Anlagenproduktivitaet.out

BIN
build/test/out/test_Arbeitsproduktivitaet.out

BIN
build/test/out/test_Cashflow_zu_Gesamtkapital.out

BIN
build/test/out/test_Dynamische_Amortisationszeit.out

BIN
build/test/out/test_Effektivverzinsung.out

BIN
build/test/out/test_Finanzierungsregeln.out

BIN
build/test/out/test_GewinnMaximum.out

BIN
build/test/out/test_Kalkulatorische_Zinsen.out

BIN
build/test/out/test_Kritische_Menge.out

BIN
build/test/out/test_Stueckzeitakkort.out

BIN
build/test/out/test_Vadd.out

BIN
build/test/out/test_Vaddx2.out

BIN
build/test/out/test_Vaddx3.out

BIN
build/test/out/test_Vangle.out

BIN
build/test/out/test_Vlength.out

BIN
build/test/out/test_Vmiddle.out

BIN
build/test/out/test_Vmiddle2.out

BIN
build/test/out/test_Vmiddle3.out

BIN
build/test/out/test_Vmultiplier.out

BIN
build/test/out/test_Vmultiplier2.out

BIN
build/test/out/test_Vmultiplier3.out

BIN
build/test/out/test_Vparallel.out

BIN
build/test/out/test_Vshift.out

BIN
build/test/out/test_Vskalort.out

BIN
build/test/out/test_Vsubstract.out

BIN
build/test/out/test_Vsubstract2.out

BIN
build/test/out/test_Vsubstract3.out

BIN
build/test/out/test_Zeitlohn.out

BIN
build/test/out/test_angebotserfolg.out

BIN
build/test/out/test_binomial_coefficient.out

BIN
build/test/out/test_boolesche_nicht.out

BIN
build/test/out/test_boolesche_oder.out

BIN
build/test/out/test_boolesche_und.out

BIN
build/test/out/test_dezimal_binar_linksverschiebung.out

BIN
build/test/out/test_dezimal_binar_rechtsverschiebung.out

BIN
build/test/out/test_dezimal_to_bin.out

BIN
build/test/out/test_eigenkapital_Rentabilitaeten.out

BIN
build/test/out/test_erloesfunktion.out

BIN
build/test/out/test_gesamtkapital_Rentabilitaeten.out

BIN
build/test/out/test_grenzGewinn.out

BIN
build/test/out/test_marktanteil.out

BIN
build/test/out/test_probability_from_tree.out

BIN
build/test/out/test_prozentsatz.out

BIN
build/test/out/test_prozentwert.out

BIN
build/test/out/test_trapezFlaeche.out

BIN
build/test/out/test_vPunkt.out

39
build/test/preprocess/files/test_prozentsatz.c

@ -0,0 +1,39 @@
#include "src/funktion.h"
#include "C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/ceedling-0.31.1/vendor/unity/src/unity.h"
void setUp(void)
{
}
void tearDown(void)
{
}
void test_prozentsatz_NeedToImplement(void) {
double prozent = 8;
double ein = 9;
double result = prozentsatz(prozent, ein);
double ergebnis = (ein / prozent);
UnityAssertFloatsWithin((UNITY_FLOAT)((UNITY_FLOAT)((ergebnis)) * (UNITY_FLOAT)(0.00001f)), (UNITY_FLOAT)((UNITY_FLOAT)((ergebnis))), (UNITY_FLOAT)((UNITY_FLOAT)((result))), ((
((void *)0)
)), (UNITY_UINT)((UNITY_UINT)(18)));
}

3
build/test/preprocess/includes/test_prozentsatz.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

2
build/test/results/test_Akkortrichtsatz.pass

@ -16,4 +16,4 @@
:ignored: 0 :ignored: 0
:stdout: :stdout:
- Testergebniss 552.000000 - Testergebniss 552.000000
:time: 0.028401200019288808
:time: 0.02847789996303618

2
build/test/results/test_Anlagenabnutzungsgrad.pass

@ -16,4 +16,4 @@
:ignored: 0 :ignored: 0
:stdout: :stdout:
- Testergebniss 60.000000 - Testergebniss 60.000000
:time: 0.02859190001618117
:time: 0.028531700023449957

2
build/test/results/test_Anlagenintensitaet.pass

@ -16,4 +16,4 @@
:ignored: 0 :ignored: 0
:stdout: :stdout:
- Testergebniss 4878.048780 - Testergebniss 4878.048780
:time: 0.02810589998262003
:time: 0.38205750001361594

2
build/test/results/test_Anlagenproduktivitaet.pass

@ -16,4 +16,4 @@
:ignored: 0 :ignored: 0
:stdout: :stdout:
- Testergebniss 18.203304 - Testergebniss 18.203304
:time: 0.029457700031343848
:time: 0.4469355999608524

2
build/test/results/test_Arbeitsproduktivitaet.pass

@ -16,4 +16,4 @@
:ignored: 0 :ignored: 0
:stdout: :stdout:
- Testergebniss 60.000000 - Testergebniss 60.000000
:time: 0.028612399997655302
:time: 0.41143279999960214

2
build/test/results/test_ByOne.pass

@ -16,4 +16,4 @@
:ignored: 0 :ignored: 0
:stdout: :stdout:
- 'Das Ergebnis lautet: 2' - 'Das Ergebnis lautet: 2'
:time: 0.019392999995034188
:time: 0.01876740000443533

2
build/test/results/test_Cashflow_zu_Gesamtkapital.pass

@ -16,4 +16,4 @@
:ignored: 0 :ignored: 0
:stdout: :stdout:
- Testergebniss 0.158038 - Testergebniss 0.158038
:time: 0.028729200013913214
:time: 0.41603959997883067

2
build/test/results/test_Dynamische_Amortisationszeit.pass

@ -16,4 +16,4 @@
:ignored: 0 :ignored: 0
:stdout: :stdout:
- Testergebniss 189.421906 - Testergebniss 189.421906
:time: 0.034111700020730495
:time: 0.283066299976781

2
build/test/results/test_Effektivverzinsung.pass

@ -16,4 +16,4 @@
:ignored: 0 :ignored: 0
:stdout: :stdout:
- Testergebniss 16.034390 - Testergebniss 16.034390
:time: 0.026179099979344755
:time: 0.4076397999888286

2
build/test/results/test_Finanzierungsregeln.pass

@ -16,4 +16,4 @@
:ignored: 0 :ignored: 0
:stdout: :stdout:
- Testergebniss 0.051041 - Testergebniss 0.051041
:time: 0.025732900016009808
:time: 0.3936008000164293

2
build/test/results/test_GewinnMaximum.pass

@ -16,4 +16,4 @@
:ignored: 0 :ignored: 0
:stdout: :stdout:
- Testergebniss 251.000000 - Testergebniss 251.000000
:time: 0.02743070002179593
:time: 0.3876350999926217

2
build/test/results/test_Kalkulatorische_Zinsen.pass

@ -16,4 +16,4 @@
:ignored: 0 :ignored: 0
:stdout: :stdout:
- Testergebniss 1.440000 - Testergebniss 1.440000
:time: 0.02849850000347942
:time: 0.3963921999675222

2
build/test/results/test_Kritische_Menge.pass

@ -16,4 +16,4 @@
:ignored: 0 :ignored: 0
:stdout: :stdout:
- Testergebniss -12.096026 - Testergebniss -12.096026
:time: 0.025838100002147257
:time: 0.2776696999790147

2
build/test/results/test_Stueckzeitakkort.pass

@ -16,4 +16,4 @@
:ignored: 0 :ignored: 0
:stdout: :stdout:
- '96600.000000' - '96600.000000'
:time: 0.02566009998554364
:time: 0.42096149997087196

2
build/test/results/test_Vadd.pass

@ -15,4 +15,4 @@
:failed: 0 :failed: 0
:ignored: 0 :ignored: 0
:stdout: [] :stdout: []
:time: 0.024776100006420165
:time: 0.44404789997497573

2
build/test/results/test_Vaddx2.pass

@ -15,4 +15,4 @@
:failed: 0 :failed: 0
:ignored: 0 :ignored: 0
:stdout: [] :stdout: []
:time: 0.025767600047402084
:time: 0.4006904999841936

2
build/test/results/test_Vaddx3.pass

@ -15,4 +15,4 @@
:failed: 0 :failed: 0
:ignored: 0 :ignored: 0
:stdout: [] :stdout: []
:time: 0.025435800023842603
:time: 0.2845025999704376

2
build/test/results/test_Vangle.pass

@ -15,4 +15,4 @@
:failed: 0 :failed: 0
:ignored: 0 :ignored: 0
:stdout: [] :stdout: []
:time: 0.02638599998317659
:time: 0.41955010005040094

2
build/test/results/test_Vlength.pass

@ -15,4 +15,4 @@
:failed: 0 :failed: 0
:ignored: 0 :ignored: 0
:stdout: [] :stdout: []
:time: 0.026574599964078516
:time: 0.32186769996769726

2
build/test/results/test_Vmiddle.pass

@ -15,4 +15,4 @@
:failed: 0 :failed: 0
:ignored: 0 :ignored: 0
:stdout: [] :stdout: []
:time: 0.02491470001405105
:time: 0.26781449996633455

2
build/test/results/test_Vmiddle2.pass

@ -15,4 +15,4 @@
:failed: 0 :failed: 0
:ignored: 0 :ignored: 0
:stdout: [] :stdout: []
:time: 0.02500359999248758
:time: 0.4327902000513859

2
build/test/results/test_Vmiddle3.pass

@ -15,4 +15,4 @@
:failed: 0 :failed: 0
:ignored: 0 :ignored: 0
:stdout: [] :stdout: []
:time: 0.026181900000665337
:time: 0.37918960000388324

2
build/test/results/test_Vmultiplier.pass

@ -15,4 +15,4 @@
:failed: 0 :failed: 0
:ignored: 0 :ignored: 0
:stdout: [] :stdout: []
:time: 0.025181700009852648
:time: 0.4234520000172779

2
build/test/results/test_Vmultiplier2.pass

@ -15,4 +15,4 @@
:failed: 0 :failed: 0
:ignored: 0 :ignored: 0
:stdout: [] :stdout: []
:time: 0.025405800028238446
:time: 0.3891658000065945

2
build/test/results/test_Vmultiplier3.pass

@ -15,4 +15,4 @@
:failed: 0 :failed: 0
:ignored: 0 :ignored: 0
:stdout: [] :stdout: []
:time: 0.026071300031617284
:time: 0.3366535999812186

2
build/test/results/test_Vparallel.pass

@ -15,4 +15,4 @@
:failed: 0 :failed: 0
:ignored: 0 :ignored: 0
:stdout: [] :stdout: []
:time: 0.027275800006464124
:time: 0.2850979999639094

2
build/test/results/test_Vshift.pass

@ -15,4 +15,4 @@
:failed: 0 :failed: 0
:ignored: 0 :ignored: 0
:stdout: [] :stdout: []
:time: 0.025376200035680085
:time: 0.3858800000161864

2
build/test/results/test_Vskalort.pass

@ -15,4 +15,4 @@
:failed: 0 :failed: 0
:ignored: 0 :ignored: 0
:stdout: [] :stdout: []
:time: 0.025818900030571967
:time: 0.4204969999846071

2
build/test/results/test_Vsubstract.pass

@ -15,4 +15,4 @@
:failed: 0 :failed: 0
:ignored: 0 :ignored: 0
:stdout: [] :stdout: []
:time: 0.026029100001323968
:time: 0.389280500006862

2
build/test/results/test_Vsubstract2.pass

@ -15,4 +15,4 @@
:failed: 0 :failed: 0
:ignored: 0 :ignored: 0
:stdout: [] :stdout: []
:time: 0.027247299964074045
:time: 0.40249690000200644

2
build/test/results/test_Vsubstract3.pass

@ -15,4 +15,4 @@
:failed: 0 :failed: 0
:ignored: 0 :ignored: 0
:stdout: [] :stdout: []
:time: 0.02503009996144101
:time: 0.4024130000034347

2
build/test/results/test_Zeitlohn.pass

@ -16,4 +16,4 @@
:ignored: 0 :ignored: 0
:stdout: :stdout:
- Testergebniss 3450.000000 - Testergebniss 3450.000000
:time: 0.026196899998467416
:time: 0.4080194999696687

2
build/test/results/test_angebotserfolg.pass

@ -16,4 +16,4 @@
:ignored: 0 :ignored: 0
:stdout: :stdout:
- Testergebniss 225.000000 - Testergebniss 225.000000
:time: 0.0256659000297077
:time: 0.41260340000735596

2
build/test/results/test_binomial_coefficient.pass

@ -16,4 +16,4 @@
:ignored: 0 :ignored: 0
:stdout: :stdout:
- Testergebniss 1 - Testergebniss 1
:time: 0.025232200045138597
:time: 0.3992531999829225

2
build/test/results/test_boolesche_nicht.pass

@ -15,4 +15,4 @@
:failed: 0 :failed: 0
:ignored: 0 :ignored: 0
:stdout: [] :stdout: []
:time: 0.026060799951665103
:time: 0.3148446999839507

2
build/test/results/test_boolesche_oder.pass

@ -15,4 +15,4 @@
:failed: 0 :failed: 0
:ignored: 0 :ignored: 0
:stdout: [] :stdout: []
:time: 0.027831299987155944
:time: 0.29083100002026185

2
build/test/results/test_boolesche_und.pass

@ -15,4 +15,4 @@
:failed: 0 :failed: 0
:ignored: 0 :ignored: 0
:stdout: [] :stdout: []
:time: 0.02526900003431365
:time: 0.5539394000079483

2
build/test/results/test_dezimal_binar_linksverschiebung.pass

@ -16,4 +16,4 @@
:ignored: 0 :ignored: 0
:stdout: :stdout:
- Testergebniss 111110 - Testergebniss 111110
:time: 0.028678299975581467
:time: 0.4104460999951698

2
build/test/results/test_dezimal_binar_rechtsverschiebung.pass

@ -16,4 +16,4 @@
:ignored: 0 :ignored: 0
:stdout: :stdout:
- Testergebniss 1111 - Testergebniss 1111
:time: 0.028869399975519627
:time: 0.31114800000796095

2
build/test/results/test_dezimal_to_bin.pass

@ -16,4 +16,4 @@
:ignored: 0 :ignored: 0
:stdout: :stdout:
- Testergebniss 11111 - Testergebniss 11111
:time: 0.025422299979254603
:time: 0.2742368000326678

2
build/test/results/test_eigenkapital_Rentabilitaeten.pass

@ -16,4 +16,4 @@
:ignored: 0 :ignored: 0
:stdout: :stdout:
- Testergebniss 62.500000 - Testergebniss 62.500000
:time: 0.029879099980462343
:time: 0.41410380002344027

2
build/test/results/test_erloesfunktion.pass

@ -16,4 +16,4 @@
:ignored: 0 :ignored: 0
:stdout: :stdout:
- Testergebniss 4000.000000 - Testergebniss 4000.000000
:time: 0.02628220000769943
:time: 0.3111295000417158

2
build/test/results/test_gesamtkapital_Rentabilitaeten.pass

@ -16,4 +16,4 @@
:ignored: 0 :ignored: 0
:stdout: :stdout:
- Testergebniss 27.136929 - Testergebniss 27.136929
:time: 0.029897799948230386
:time: 0.43172059999778867

Some files were not shown because too many files changed in this diff

Loading…
Cancel
Save