Browse Source

test_boolesche_und

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

39
build/test/cache/test_boolesche_und.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_boolesche_und_NeedToImplement(void) {
int eingabe1 = 1;
int eingabe2 = 1;
int result = boolesche_und(eingabe1, eingabe2);
int ergebnis = 1;
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_boolesche_und.d

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

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

BIN
build/test/out/c/test_boolesche_und_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_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_trapezFlaeche.out

BIN
build/test/out/test_vPunkt.out

39
build/test/preprocess/files/test_boolesche_und.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_boolesche_und_NeedToImplement(void) {
int eingabe1 = 1;
int eingabe2 = 1;
int result = boolesche_und(eingabe1, eingabe2);
int ergebnis = 1;
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_boolesche_und.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
:stdout:
- Testergebniss 552.000000
:time: 0.027413700008764863
:time: 0.02904839999973774

2
build/test/results/test_Anlagenabnutzungsgrad.pass

@ -16,4 +16,4 @@
:ignored: 0
:stdout:
- Testergebniss 60.000000
:time: 0.03714219998801127
:time: 0.03687740000896156

2
build/test/results/test_Anlagenintensitaet.pass

@ -16,4 +16,4 @@
:ignored: 0
:stdout:
- Testergebniss 4878.048780
:time: 0.025837199995294213
:time: 0.02525990002322942

2
build/test/results/test_Anlagenproduktivitaet.pass

@ -16,4 +16,4 @@
:ignored: 0
:stdout:
- Testergebniss 18.203304
:time: 0.029831699968781322
:time: 0.03920939995441586

2
build/test/results/test_Arbeitsproduktivitaet.pass

@ -16,4 +16,4 @@
:ignored: 0
:stdout:
- Testergebniss 60.000000
:time: 0.030103600001893938
:time: 0.028473000042140484

2
build/test/results/test_ByOne.pass

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

2
build/test/results/test_Cashflow_zu_Gesamtkapital.pass

@ -16,4 +16,4 @@
:ignored: 0
:stdout:
- Testergebniss 0.158038
:time: 0.029587099968921393
:time: 0.03079660004004836

2
build/test/results/test_Dynamische_Amortisationszeit.pass

@ -16,4 +16,4 @@
:ignored: 0
:stdout:
- Testergebniss 189.421906
:time: 0.043768599978648126
:time: 0.029056600003968924

2
build/test/results/test_Effektivverzinsung.pass

@ -16,4 +16,4 @@
:ignored: 0
:stdout:
- Testergebniss 16.034390
:time: 0.03069719998165965
:time: 0.02603459998499602

2
build/test/results/test_Finanzierungsregeln.pass

@ -16,4 +16,4 @@
:ignored: 0
:stdout:
- Testergebniss 0.051041
:time: 0.025709100009407848
:time: 0.029410399962216616

2
build/test/results/test_GewinnMaximum.pass

@ -16,4 +16,4 @@
:ignored: 0
:stdout:
- Testergebniss 251.000000
:time: 0.029480199969839305
:time: 0.025596899969968945

2
build/test/results/test_Kalkulatorische_Zinsen.pass

@ -16,4 +16,4 @@
:ignored: 0
:stdout:
- Testergebniss 1.440000
:time: 0.02810890000546351
:time: 0.02844949997961521

2
build/test/results/test_Kritische_Menge.pass

@ -16,4 +16,4 @@
:ignored: 0
:stdout:
- Testergebniss -12.096026
:time: 0.025700600002892315
:time: 0.025661799998488277

2
build/test/results/test_Stueckzeitakkort.pass

@ -16,4 +16,4 @@
:ignored: 0
:stdout:
- '96600.000000'
:time: 0.024980699992738664
:time: 0.025042799999937415

2
build/test/results/test_Vadd.pass

@ -15,4 +15,4 @@
:failed: 0
:ignored: 0
:stdout: []
:time: 0.02493109996430576
:time: 0.025814900000113994

2
build/test/results/test_Vaddx2.pass

@ -15,4 +15,4 @@
:failed: 0
:ignored: 0
:stdout: []
:time: 0.026627699960954487
:time: 0.02477530000032857

2
build/test/results/test_Vaddx3.pass

@ -15,4 +15,4 @@
:failed: 0
:ignored: 0
:stdout: []
:time: 0.026853699993807822
:time: 0.025695900025311857

2
build/test/results/test_Vangle.pass

@ -15,4 +15,4 @@
:failed: 0
:ignored: 0
:stdout: []
:time: 0.025392800045665354
:time: 0.025643999979365617

2
build/test/results/test_Vlength.pass

@ -15,4 +15,4 @@
:failed: 0
:ignored: 0
:stdout: []
:time: 0.025253199972212315
:time: 0.02491009997902438

2
build/test/results/test_Vmiddle.pass

@ -15,4 +15,4 @@
:failed: 0
:ignored: 0
:stdout: []
:time: 0.025204700010363013
:time: 0.025479600008111447

2
build/test/results/test_Vmiddle2.pass

@ -15,4 +15,4 @@
:failed: 0
:ignored: 0
:stdout: []
:time: 0.02528190001612529
:time: 0.024812699994072318

2
build/test/results/test_Vmiddle3.pass

@ -15,4 +15,4 @@
:failed: 0
:ignored: 0
:stdout: []
:time: 0.025519900023937225
:time: 0.0248719000373967

2
build/test/results/test_Vmultiplier.pass

@ -15,4 +15,4 @@
:failed: 0
:ignored: 0
:stdout: []
:time: 0.02612980001140386
:time: 0.024616600014269352

2
build/test/results/test_Vmultiplier2.pass

@ -15,4 +15,4 @@
:failed: 0
:ignored: 0
:stdout: []
:time: 0.025366000016219914
:time: 0.025275099964346737

2
build/test/results/test_Vmultiplier3.pass

@ -15,4 +15,4 @@
:failed: 0
:ignored: 0
:stdout: []
:time: 0.024903799989260733
:time: 0.024810199975036085

2
build/test/results/test_Vparallel.pass

@ -15,4 +15,4 @@
:failed: 0
:ignored: 0
:stdout: []
:time: 0.02537680004024878
:time: 0.024512100033462048

2
build/test/results/test_Vshift.pass

@ -15,4 +15,4 @@
:failed: 0
:ignored: 0
:stdout: []
:time: 0.025165700004436076
:time: 0.02531470003305003

2
build/test/results/test_Vskalort.pass

@ -15,4 +15,4 @@
:failed: 0
:ignored: 0
:stdout: []
:time: 0.024096200009807944
:time: 0.024909200030378997

2
build/test/results/test_Vsubstract.pass

@ -15,4 +15,4 @@
:failed: 0
:ignored: 0
:stdout: []
:time: 0.028937599970959127
:time: 0.02519469999242574

2
build/test/results/test_Vsubstract2.pass

@ -15,4 +15,4 @@
:failed: 0
:ignored: 0
:stdout: []
:time: 0.02578139997785911
:time: 0.02457820001291111

2
build/test/results/test_Vsubstract3.pass

@ -15,4 +15,4 @@
:failed: 0
:ignored: 0
:stdout: []
:time: 0.026610800006892532
:time: 0.02470579999499023

2
build/test/results/test_Zeitlohn.pass

@ -16,4 +16,4 @@
:ignored: 0
:stdout:
- Testergebniss 3450.000000
:time: 0.025313800026196986
:time: 0.02528800000436604

2
build/test/results/test_angebotserfolg.pass

@ -16,4 +16,4 @@
:ignored: 0
:stdout:
- Testergebniss 225.000000
:time: 0.026066999998874962
:time: 0.025990599999204278

2
build/test/results/test_binomial_coefficient.pass

@ -16,4 +16,4 @@
:ignored: 0
:stdout:
- Testergebniss 1
:time: 0.02708239998901263
:time: 0.026414899970404804

18
build/test/results/test_boolesche_und.pass

@ -0,0 +1,18 @@
---
:source:
:path: test
:file: test_boolesche_und.c
:successes:
- :test: test_boolesche_und_NeedToImplement
:line: 13
:message: ''
:unity_test_time: 0
:failures: []
:ignores: []
:counts:
:total: 1
:passed: 1
:failed: 0
:ignored: 0
:stdout: []
:time: 0.028201899956911802

2
build/test/results/test_dezimal_binar_linksverschiebung.pass

@ -16,4 +16,4 @@
:ignored: 0
:stdout:
- Testergebniss 111110
:time: 0.029173199960496277
:time: 0.028530100011266768

2
build/test/results/test_dezimal_binar_rechtsverschiebung.pass

@ -16,4 +16,4 @@
:ignored: 0
:stdout:
- Testergebniss 1111
:time: 0.028871699993032962
:time: 0.028213799989316612

2
build/test/results/test_dezimal_to_bin.pass

@ -16,4 +16,4 @@
:ignored: 0
:stdout:
- Testergebniss 11111
:time: 0.02600209997035563
:time: 0.025426800013519824

2
build/test/results/test_eigenkapital_Rentabilitaeten.pass

@ -16,4 +16,4 @@
:ignored: 0
:stdout:
- Testergebniss 62.500000
:time: 0.028939599986188114
:time: 0.028633799985982478

2
build/test/results/test_erloesfunktion.pass

@ -16,4 +16,4 @@
:ignored: 0
:stdout:
- Testergebniss 4000.000000
:time: 0.026300599973183125
:time: 0.02585529995849356

2
build/test/results/test_gesamtkapital_Rentabilitaeten.pass

@ -16,4 +16,4 @@
:ignored: 0
:stdout:
- Testergebniss 27.136929
:time: 0.030682300042826682
:time: 0.028480499982833862

2
build/test/results/test_grenzGewinn.pass

@ -16,4 +16,4 @@
:ignored: 0
:stdout:
- Testergebniss 1141.000000
:time: 0.026639499992597848
:time: 0.025647500006016344

2
build/test/results/test_marktanteil.pass

@ -16,4 +16,4 @@
:ignored: 0
:stdout:
- Testergebniss 21.739130
:time: 0.025388400012161583
:time: 0.025453599984757602

2
build/test/results/test_probability_from_tree.pass

@ -15,4 +15,4 @@
:failed: 0
:ignored: 0
:stdout: []
:time: 0.033142699976451695
:time: 0.02945699996780604

2
build/test/results/test_trapezFlaeche.pass

@ -17,4 +17,4 @@
:stdout:
- 'Flaeche vom Trapez beträgt: 21.000000'
- Testergebniss 21.000000
:time: 0.026662499993108213
:time: 0.02558880002470687

2
build/test/results/test_vPunkt.pass

@ -15,4 +15,4 @@
:failed: 0
:ignored: 0
:stdout: []
:time: 0.02459579997230321
:time: 0.02458879997720942

81
build/test/runners/test_boolesche_und_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_boolesche_und_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_boolesche_und.c");
run_test(test_boolesche_und_NeedToImplement, "test_boolesche_und_NeedToImplement", 13);
return UnityEnd();
}

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

Loading…
Cancel
Save