Browse Source

refactoring:Vmiddle3

main
fdai6887 2 years ago
parent
commit
58231015e1
  1. BIN
      build/test/out/c/funktion.o
  2. BIN
      build/test/out/test_Akkortrichtsatz.out
  3. BIN
      build/test/out/test_Anlagenabnutzungsgrad.out
  4. BIN
      build/test/out/test_Anlagenintensitaet.out
  5. BIN
      build/test/out/test_Anlagenproduktivitaet.out
  6. BIN
      build/test/out/test_Arbeitsproduktivitaet.out
  7. BIN
      build/test/out/test_Cashflow_zu_Gesamtkapital.out
  8. BIN
      build/test/out/test_Dynamische_Amortisationszeit.out
  9. BIN
      build/test/out/test_Effektivverzinsung.out
  10. BIN
      build/test/out/test_Finanzierungsregeln.out
  11. BIN
      build/test/out/test_GewinnMaximum.out
  12. BIN
      build/test/out/test_Kalkulatorische_Zinsen.out
  13. BIN
      build/test/out/test_Kritische_Menge.out
  14. BIN
      build/test/out/test_Stueckzeitakkort.out
  15. BIN
      build/test/out/test_Vadd.out
  16. BIN
      build/test/out/test_Vaddx2.out
  17. BIN
      build/test/out/test_Vaddx3.out
  18. BIN
      build/test/out/test_Vlength.out
  19. BIN
      build/test/out/test_Vmiddle.out
  20. BIN
      build/test/out/test_Vmiddle2.out
  21. BIN
      build/test/out/test_Vmiddle3.out
  22. BIN
      build/test/out/test_Vmultiplier.out
  23. BIN
      build/test/out/test_Vmultiplier2.out
  24. BIN
      build/test/out/test_Vmultiplier3.out
  25. BIN
      build/test/out/test_Vparallel.out
  26. BIN
      build/test/out/test_Vshift.out
  27. BIN
      build/test/out/test_Vsubstract.out
  28. BIN
      build/test/out/test_Vsubstract2.out
  29. BIN
      build/test/out/test_Vsubstract3.out
  30. BIN
      build/test/out/test_Zeitlohn.out
  31. BIN
      build/test/out/test_angebotserfolg.out
  32. BIN
      build/test/out/test_eigenkapital_Rentabilitaeten.out
  33. BIN
      build/test/out/test_erloesfunktion.out
  34. BIN
      build/test/out/test_gesamtkapital_Rentabilitaeten.out
  35. BIN
      build/test/out/test_grenzGewinn.out
  36. BIN
      build/test/out/test_marktanteil.out
  37. BIN
      build/test/out/test_trapezFlaeche.out
  38. 2
      build/test/results/test_Akkortrichtsatz.pass
  39. 2
      build/test/results/test_Anlagenabnutzungsgrad.pass
  40. 2
      build/test/results/test_Anlagenintensitaet.pass
  41. 2
      build/test/results/test_Anlagenproduktivitaet.pass
  42. 2
      build/test/results/test_Arbeitsproduktivitaet.pass
  43. 2
      build/test/results/test_Cashflow_zu_Gesamtkapital.pass
  44. 2
      build/test/results/test_Dynamische_Amortisationszeit.pass
  45. 2
      build/test/results/test_Effektivverzinsung.pass
  46. 2
      build/test/results/test_Finanzierungsregeln.pass
  47. 2
      build/test/results/test_GewinnMaximum.pass
  48. 2
      build/test/results/test_Kalkulatorische_Zinsen.pass
  49. 2
      build/test/results/test_Kritische_Menge.pass
  50. 2
      build/test/results/test_Stueckzeitakkort.pass
  51. 2
      build/test/results/test_Vadd.pass
  52. 2
      build/test/results/test_Vaddx2.pass
  53. 2
      build/test/results/test_Vaddx3.pass
  54. 2
      build/test/results/test_Vlength.pass
  55. 2
      build/test/results/test_Vmiddle.pass
  56. 2
      build/test/results/test_Vmiddle2.pass
  57. 2
      build/test/results/test_Vmiddle3.pass
  58. 2
      build/test/results/test_Vmultiplier.pass
  59. 2
      build/test/results/test_Vmultiplier2.pass
  60. 2
      build/test/results/test_Vmultiplier3.pass
  61. 2
      build/test/results/test_Vparallel.pass
  62. 2
      build/test/results/test_Vshift.pass
  63. 2
      build/test/results/test_Vsubstract.pass
  64. 2
      build/test/results/test_Vsubstract2.pass
  65. 2
      build/test/results/test_Vsubstract3.pass
  66. 2
      build/test/results/test_Zeitlohn.pass
  67. 2
      build/test/results/test_angebotserfolg.pass
  68. 2
      build/test/results/test_eigenkapital_Rentabilitaeten.pass
  69. 2
      build/test/results/test_erloesfunktion.pass
  70. 2
      build/test/results/test_gesamtkapital_Rentabilitaeten.pass
  71. 2
      build/test/results/test_grenzGewinn.pass
  72. 2
      build/test/results/test_marktanteil.pass
  73. 2
      build/test/results/test_trapezFlaeche.pass
  74. 7
      src/funktion.c
  75. 2
      src/main.c

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

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.003747833000488754
:time: 0.002545660999203392

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.00250506599968503
:time: 0.002538685999752488

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.0013495670000338578
:time: 0.004581849999340193

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.0018762500003504101
:time: 0.0017254879994652583

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.0018215910004073521
:time: 0.0023116329994081752

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.0012930249995406484
:time: 0.0022821900001872564

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.0015211689997158828
:time: 0.0022331140007736394

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.0018382500002189772
:time: 0.0050449290001779445

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.0018007310000029975
:time: 0.002168306999919878

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.001573088000441203
:time: 0.001717216000542976

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.0018461449999449542
:time: 0.0017055660000551143

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.001979151000341517
:time: 0.004407884999636735

2
build/test/results/test_Stueckzeitakkort.pass

@ -16,4 +16,4 @@
:ignored: 0 :ignored: 0
:stdout: :stdout:
- '96600.000000' - '96600.000000'
:time: 0.0022864900001877686
:time: 0.0021876770006201696

2
build/test/results/test_Vadd.pass

@ -15,4 +15,4 @@
:failed: 0 :failed: 0
:ignored: 0 :ignored: 0
:stdout: [] :stdout: []
:time: 0.0016179060003196355
:time: 0.003116801000032865

2
build/test/results/test_Vaddx2.pass

@ -15,4 +15,4 @@
:failed: 0 :failed: 0
:ignored: 0 :ignored: 0
:stdout: [] :stdout: []
:time: 0.0018802169997798046
:time: 0.0020752229993377114

2
build/test/results/test_Vaddx3.pass

@ -15,4 +15,4 @@
:failed: 0 :failed: 0
:ignored: 0 :ignored: 0
:stdout: [] :stdout: []
:time: 0.001763133000167727
:time: 0.0019389480003155768

2
build/test/results/test_Vlength.pass

@ -15,4 +15,4 @@
:failed: 0 :failed: 0
:ignored: 0 :ignored: 0
:stdout: [] :stdout: []
:time: 0.0017864560004454688
:time: 0.002717704999668058

2
build/test/results/test_Vmiddle.pass

@ -15,4 +15,4 @@
:failed: 0 :failed: 0
:ignored: 0 :ignored: 0
:stdout: [] :stdout: []
:time: 0.0015430539997396409
:time: 0.0018779680003717658

2
build/test/results/test_Vmiddle2.pass

@ -15,4 +15,4 @@
:failed: 0 :failed: 0
:ignored: 0 :ignored: 0
:stdout: [] :stdout: []
:time: 0.0016999360004774644
:time: 0.0016672000001562992

2
build/test/results/test_Vmiddle3.pass

@ -15,4 +15,4 @@
:failed: 0 :failed: 0
:ignored: 0 :ignored: 0
:stdout: [] :stdout: []
:time: 0.0016104749993246514
:time: 0.001965518000361044

2
build/test/results/test_Vmultiplier.pass

@ -15,4 +15,4 @@
:failed: 0 :failed: 0
:ignored: 0 :ignored: 0
:stdout: [] :stdout: []
:time: 0.0015193279996310594
:time: 0.009901792000164278

2
build/test/results/test_Vmultiplier2.pass

@ -15,4 +15,4 @@
:failed: 0 :failed: 0
:ignored: 0 :ignored: 0
:stdout: [] :stdout: []
:time: 0.0030264130000432488
:time: 0.001948861000528268

2
build/test/results/test_Vmultiplier3.pass

@ -15,4 +15,4 @@
:failed: 0 :failed: 0
:ignored: 0 :ignored: 0
:stdout: [] :stdout: []
:time: 0.0019035329996768269
:time: 0.0014362219999384251

2
build/test/results/test_Vparallel.pass

@ -15,4 +15,4 @@
:failed: 0 :failed: 0
:ignored: 0 :ignored: 0
:stdout: [] :stdout: []
:time: 0.001495822999459051
:time: 0.0023164080002970877

2
build/test/results/test_Vshift.pass

@ -15,4 +15,4 @@
:failed: 0 :failed: 0
:ignored: 0 :ignored: 0
:stdout: [] :stdout: []
:time: 0.0015869230001044343
:time: 0.0021940899996479857

2
build/test/results/test_Vsubstract.pass

@ -15,4 +15,4 @@
:failed: 0 :failed: 0
:ignored: 0 :ignored: 0
:stdout: [] :stdout: []
:time: 0.0025414589999854797
:time: 0.0034324940006627003

2
build/test/results/test_Vsubstract2.pass

@ -15,4 +15,4 @@
:failed: 0 :failed: 0
:ignored: 0 :ignored: 0
:stdout: [] :stdout: []
:time: 0.0021109709996380843
:time: 0.0027917010002056486

2
build/test/results/test_Vsubstract3.pass

@ -15,4 +15,4 @@
:failed: 0 :failed: 0
:ignored: 0 :ignored: 0
:stdout: [] :stdout: []
:time: 0.008162451999851328
:time: 0.00917682599992986

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.0015546719996564207
:time: 0.0026447649997862754

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.004903263999949559
:time: 0.006574670000190963

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.0020816420001210645
:time: 0.002319862000149442

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.0016577799997321563
:time: 0.0018385729999863543

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.0017032109999490785
:time: 0.0036962340000172844

2
build/test/results/test_grenzGewinn.pass

@ -16,4 +16,4 @@
:ignored: 0 :ignored: 0
:stdout: :stdout:
- Testergebniss 1141.000000 - Testergebniss 1141.000000
:time: 0.002933798000412935
:time: 0.0023235939997903188

2
build/test/results/test_marktanteil.pass

@ -16,4 +16,4 @@
:ignored: 0 :ignored: 0
:stdout: :stdout:
- Testergebniss 21.739130 - Testergebniss 21.739130
:time: 0.002566985999692406
:time: 0.0022107589993538568

2
build/test/results/test_trapezFlaeche.pass

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

7
src/funktion.c

@ -212,8 +212,7 @@ float Vmiddle2(float x2,float z2) {
return result; return result;
} }
float Vmiddle3(float x3, float z3) { float Vmiddle3(float x3, float z3) {
x3 = x3 + z3;
printf("|%f)\n\n", x3 * 0.5);
x3 = x3 * 0.5;
return x3;
double result = x3 + z3;
result = result * 0.5;
return result;
} }

2
src/main.c

@ -161,9 +161,7 @@ int main()
z2 = getValue('Z'); z2 = getValue('Z');
Vmiddle2(x2, z2); Vmiddle2(x2, z2);
printf("y eingeben ");
x3 = getValue('X'); x3 = getValue('X');
printf("c eingeben");
z3 = getValue('Z'); z3 = getValue('Z');
Vmiddle3(x3, z3); Vmiddle3(x3, z3);
} }
Loading…
Cancel
Save