Browse Source

test_grundwert

main
Fdai7396 2 years ago
parent
commit
76697bf90b
  1. 39
      build/test/cache/test_grundwert.c
  2. 4
      build/test/dependencies/test_grundwert.d
  3. 4
      build/test/dependencies/test_grundwert_runner.d
  4. BIN
      build/test/out/c/funktion.o
  5. BIN
      build/test/out/c/test_grundwert.o
  6. BIN
      build/test/out/c/test_grundwert_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_grundwert.out
  51. BIN
      build/test/out/test_marktanteil.out
  52. BIN
      build/test/out/test_probability_from_tree.out
  53. BIN
      build/test/out/test_prozentsatz.out
  54. BIN
      build/test/out/test_prozentwert.out
  55. BIN
      build/test/out/test_trapezFlaeche.out
  56. BIN
      build/test/out/test_vPunkt.out
  57. 39
      build/test/preprocess/files/test_grundwert.c
  58. 3
      build/test/preprocess/includes/test_grundwert.c
  59. 2
      build/test/results/test_Akkortrichtsatz.pass
  60. 2
      build/test/results/test_Anlagenabnutzungsgrad.pass
  61. 2
      build/test/results/test_Anlagenintensitaet.pass
  62. 2
      build/test/results/test_Anlagenproduktivitaet.pass
  63. 2
      build/test/results/test_Arbeitsproduktivitaet.pass
  64. 2
      build/test/results/test_ByOne.pass
  65. 2
      build/test/results/test_Cashflow_zu_Gesamtkapital.pass
  66. 2
      build/test/results/test_Dynamische_Amortisationszeit.pass
  67. 2
      build/test/results/test_Effektivverzinsung.pass
  68. 2
      build/test/results/test_Finanzierungsregeln.pass
  69. 2
      build/test/results/test_GewinnMaximum.pass
  70. 2
      build/test/results/test_Kalkulatorische_Zinsen.pass
  71. 2
      build/test/results/test_Kritische_Menge.pass
  72. 2
      build/test/results/test_Stueckzeitakkort.pass
  73. 2
      build/test/results/test_Vadd.pass
  74. 2
      build/test/results/test_Vaddx2.pass
  75. 2
      build/test/results/test_Vaddx3.pass
  76. 2
      build/test/results/test_Vangle.pass
  77. 2
      build/test/results/test_Vlength.pass
  78. 2
      build/test/results/test_Vmiddle.pass
  79. 2
      build/test/results/test_Vmiddle2.pass
  80. 2
      build/test/results/test_Vmiddle3.pass
  81. 2
      build/test/results/test_Vmultiplier.pass
  82. 2
      build/test/results/test_Vmultiplier2.pass
  83. 2
      build/test/results/test_Vmultiplier3.pass
  84. 2
      build/test/results/test_Vparallel.pass
  85. 2
      build/test/results/test_Vshift.pass
  86. 2
      build/test/results/test_Vskalort.pass
  87. 2
      build/test/results/test_Vsubstract.pass
  88. 2
      build/test/results/test_Vsubstract2.pass
  89. 2
      build/test/results/test_Vsubstract3.pass
  90. 2
      build/test/results/test_Zeitlohn.pass
  91. 2
      build/test/results/test_angebotserfolg.pass
  92. 2
      build/test/results/test_binomial_coefficient.pass
  93. 2
      build/test/results/test_boolesche_nicht.pass
  94. 2
      build/test/results/test_boolesche_oder.pass
  95. 2
      build/test/results/test_boolesche_und.pass
  96. 2
      build/test/results/test_dezimal_binar_linksverschiebung.pass
  97. 2
      build/test/results/test_dezimal_binar_rechtsverschiebung.pass
  98. 2
      build/test/results/test_dezimal_to_bin.pass
  99. 2
      build/test/results/test_eigenkapital_Rentabilitaeten.pass
  100. 2
      build/test/results/test_erloesfunktion.pass

39
build/test/cache/test_grundwert.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_grundwert_NeedToImplement(void) {
double prozent = 8;
double ein = 10;
double result = grundwert(ein, prozent);
double ergebnis = (ein / prozent) * 100;
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_grundwert.d

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

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

BIN
build/test/out/c/test_grundwert_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_grundwert.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_grundwert.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_grundwert_NeedToImplement(void) {
double prozent = 8;
double ein = 10;
double result = grundwert(ein, prozent);
double ergebnis = (ein / prozent) * 100;
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_grundwert.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.02847789996303618
:time: 0.4093384000007063

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.028531700023449957
:time: 0.4877040999708697

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.38205750001361594
:time: 0.43649239995284006

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.4469355999608524
:time: 0.41834400000516325

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.41143279999960214
:time: 0.4210616999771446

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.01876740000443533
:time: 0.01995149999856949

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.41603959997883067
:time: 0.3978588000172749

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.283066299976781
:time: 0.3884043999714777

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.4076397999888286
:time: 0.395950099977199

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.3936008000164293
:time: 0.3984014000161551

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.3876350999926217
:time: 0.40882010001223534

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.3963921999675222
:time: 0.39265769999474287

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.2776696999790147
:time: 0.3048316999920644

2
build/test/results/test_Stueckzeitakkort.pass

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

2
build/test/results/test_Vadd.pass

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

2
build/test/results/test_Vaddx2.pass

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

2
build/test/results/test_Vaddx3.pass

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

2
build/test/results/test_Vangle.pass

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

2
build/test/results/test_Vlength.pass

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

2
build/test/results/test_Vmiddle.pass

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

2
build/test/results/test_Vmiddle2.pass

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

2
build/test/results/test_Vmiddle3.pass

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

2
build/test/results/test_Vmultiplier.pass

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

2
build/test/results/test_Vmultiplier2.pass

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

2
build/test/results/test_Vmultiplier3.pass

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

2
build/test/results/test_Vparallel.pass

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

2
build/test/results/test_Vshift.pass

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

2
build/test/results/test_Vskalort.pass

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

2
build/test/results/test_Vsubstract.pass

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

2
build/test/results/test_Vsubstract2.pass

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

2
build/test/results/test_Vsubstract3.pass

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

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.4080194999696687
:time: 0.39100790000520647

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.41260340000735596
:time: 0.41537240002071485

2
build/test/results/test_binomial_coefficient.pass

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

2
build/test/results/test_boolesche_nicht.pass

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

2
build/test/results/test_boolesche_oder.pass

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

2
build/test/results/test_boolesche_und.pass

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

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.4104460999951698
:time: 0.2959346999996342

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.31114800000796095
:time: 0.39889749995199963

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.2742368000326678
:time: 0.3882092999992892

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.41410380002344027
:time: 0.4053054000250995

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.3111295000417158
:time: 0.2785629999707453

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

Loading…
Cancel
Save