Browse Source

refactoring:Vmiddle

main
fdai6887 2 years ago
parent
commit
b6fd854994
  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_Vmultiplier.out
  21. BIN
      build/test/out/test_Vmultiplier2.out
  22. BIN
      build/test/out/test_Vmultiplier3.out
  23. BIN
      build/test/out/test_Vparallel.out
  24. BIN
      build/test/out/test_Vshift.out
  25. BIN
      build/test/out/test_Vsubstract.out
  26. BIN
      build/test/out/test_Vsubstract2.out
  27. BIN
      build/test/out/test_Vsubstract3.out
  28. BIN
      build/test/out/test_Zeitlohn.out
  29. BIN
      build/test/out/test_angebotserfolg.out
  30. BIN
      build/test/out/test_eigenkapital_Rentabilitaeten.out
  31. BIN
      build/test/out/test_erloesfunktion.out
  32. BIN
      build/test/out/test_gesamtkapital_Rentabilitaeten.out
  33. BIN
      build/test/out/test_grenzGewinn.out
  34. BIN
      build/test/out/test_marktanteil.out
  35. BIN
      build/test/out/test_trapezFlaeche.out
  36. 2
      build/test/results/test_Akkortrichtsatz.pass
  37. 2
      build/test/results/test_Anlagenabnutzungsgrad.pass
  38. 2
      build/test/results/test_Anlagenintensitaet.pass
  39. 2
      build/test/results/test_Anlagenproduktivitaet.pass
  40. 2
      build/test/results/test_Arbeitsproduktivitaet.pass
  41. 2
      build/test/results/test_Cashflow_zu_Gesamtkapital.pass
  42. 2
      build/test/results/test_Dynamische_Amortisationszeit.pass
  43. 2
      build/test/results/test_Effektivverzinsung.pass
  44. 2
      build/test/results/test_Finanzierungsregeln.pass
  45. 2
      build/test/results/test_GewinnMaximum.pass
  46. 2
      build/test/results/test_Kalkulatorische_Zinsen.pass
  47. 2
      build/test/results/test_Kritische_Menge.pass
  48. 2
      build/test/results/test_Stueckzeitakkort.pass
  49. 2
      build/test/results/test_Vadd.pass
  50. 2
      build/test/results/test_Vaddx2.pass
  51. 2
      build/test/results/test_Vaddx3.pass
  52. 2
      build/test/results/test_Vlength.pass
  53. 5
      build/test/results/test_Vmiddle.pass
  54. 2
      build/test/results/test_Vmultiplier.pass
  55. 2
      build/test/results/test_Vmultiplier2.pass
  56. 2
      build/test/results/test_Vmultiplier3.pass
  57. 2
      build/test/results/test_Vparallel.pass
  58. 2
      build/test/results/test_Vshift.pass
  59. 2
      build/test/results/test_Vsubstract.pass
  60. 2
      build/test/results/test_Vsubstract2.pass
  61. 2
      build/test/results/test_Vsubstract3.pass
  62. 2
      build/test/results/test_Zeitlohn.pass
  63. 2
      build/test/results/test_angebotserfolg.pass
  64. 2
      build/test/results/test_eigenkapital_Rentabilitaeten.pass
  65. 2
      build/test/results/test_erloesfunktion.pass
  66. 2
      build/test/results/test_gesamtkapital_Rentabilitaeten.pass
  67. 2
      build/test/results/test_grenzGewinn.pass
  68. 2
      build/test/results/test_marktanteil.pass
  69. 2
      build/test/results/test_trapezFlaeche.pass
  70. 7
      src/funktion.c
  71. 4
      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_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
:stdout:
- Testergebniss 552.000000
:time: 0.0012492719997680979
:time: 0.001214390999848547

2
build/test/results/test_Anlagenabnutzungsgrad.pass

@ -16,4 +16,4 @@
:ignored: 0
:stdout:
- Testergebniss 60.000000
:time: 0.0025162629999613273
:time: 0.0026800719997481792

2
build/test/results/test_Anlagenintensitaet.pass

@ -16,4 +16,4 @@
:ignored: 0
:stdout:
- Testergebniss 4878.048780
:time: 0.0013663620002262178
:time: 0.0015219199995044619

2
build/test/results/test_Anlagenproduktivitaet.pass

@ -16,4 +16,4 @@
:ignored: 0
:stdout:
- Testergebniss 18.203304
:time: 0.010874829999920621
:time: 0.0036783360001209076

2
build/test/results/test_Arbeitsproduktivitaet.pass

@ -16,4 +16,4 @@
:ignored: 0
:stdout:
- Testergebniss 60.000000
:time: 0.001331493000179762
:time: 0.0012291370003367774

2
build/test/results/test_Cashflow_zu_Gesamtkapital.pass

@ -16,4 +16,4 @@
:ignored: 0
:stdout:
- Testergebniss 0.158038
:time: 0.0013338690005184617
:time: 0.0011639639997156337

2
build/test/results/test_Dynamische_Amortisationszeit.pass

@ -16,4 +16,4 @@
:ignored: 0
:stdout:
- Testergebniss 189.421906
:time: 0.0013987649999762652
:time: 0.0011980389999735053

2
build/test/results/test_Effektivverzinsung.pass

@ -16,4 +16,4 @@
:ignored: 0
:stdout:
- Testergebniss 16.034390
:time: 0.0018020549996435875
:time: 0.0015471679998881882

2
build/test/results/test_Finanzierungsregeln.pass

@ -16,4 +16,4 @@
:ignored: 0
:stdout:
- Testergebniss 0.051041
:time: 0.0021307930001057684
:time: 0.0012156820002928725

2
build/test/results/test_GewinnMaximum.pass

@ -16,4 +16,4 @@
:ignored: 0
:stdout:
- Testergebniss 251.000000
:time: 0.0012472899998101639
:time: 0.0018494120004106662

2
build/test/results/test_Kalkulatorische_Zinsen.pass

@ -16,4 +16,4 @@
:ignored: 0
:stdout:
- Testergebniss 1.440000
:time: 0.0012136069999542087
:time: 0.001229191999300383

2
build/test/results/test_Kritische_Menge.pass

@ -16,4 +16,4 @@
:ignored: 0
:stdout:
- Testergebniss -12.096026
:time: 0.0015156210001805448
:time: 0.0023845510004321113

2
build/test/results/test_Stueckzeitakkort.pass

@ -16,4 +16,4 @@
:ignored: 0
:stdout:
- '96600.000000'
:time: 0.001174574999822653
:time: 0.0020774699996763957

2
build/test/results/test_Vadd.pass

@ -15,4 +15,4 @@
:failed: 0
:ignored: 0
:stdout: []
:time: 0.0020111470003030263
:time: 0.0020876620001217816

2
build/test/results/test_Vaddx2.pass

@ -15,4 +15,4 @@
:failed: 0
:ignored: 0
:stdout: []
:time: 0.0017763189998731832
:time: 0.00342264799928671

2
build/test/results/test_Vaddx3.pass

@ -15,4 +15,4 @@
:failed: 0
:ignored: 0
:stdout: []
:time: 0.0016204489993469906
:time: 0.0035286980000819312

2
build/test/results/test_Vlength.pass

@ -15,4 +15,4 @@
:failed: 0
:ignored: 0
:stdout: []
:time: 0.0014587610003218288
:time: 0.0018727710003076936

5
build/test/results/test_Vmiddle.pass

@ -14,6 +14,5 @@
:passed: 1
:failed: 0
:ignored: 0
:stdout:
- "(4.000000|"
:time: 0.0015313039993998245
:stdout: []
:time: 0.0025225429999409243

2
build/test/results/test_Vmultiplier.pass

@ -15,4 +15,4 @@
:failed: 0
:ignored: 0
:stdout: []
:time: 0.0014874500002406421
:time: 0.0014684389998365077

2
build/test/results/test_Vmultiplier2.pass

@ -15,4 +15,4 @@
:failed: 0
:ignored: 0
:stdout: []
:time: 0.001189012999930128
:time: 0.0012306549997447291

2
build/test/results/test_Vmultiplier3.pass

@ -15,4 +15,4 @@
:failed: 0
:ignored: 0
:stdout: []
:time: 0.0019370989994058618
:time: 0.002249705000394897

2
build/test/results/test_Vparallel.pass

@ -15,4 +15,4 @@
:failed: 0
:ignored: 0
:stdout: []
:time: 0.001316324999606877
:time: 0.002761507999821333

2
build/test/results/test_Vshift.pass

@ -15,4 +15,4 @@
:failed: 0
:ignored: 0
:stdout: []
:time: 0.0019835339999190182
:time: 0.0011657639997793012

2
build/test/results/test_Vsubstract.pass

@ -15,4 +15,4 @@
:failed: 0
:ignored: 0
:stdout: []
:time: 0.0027028580007026903
:time: 0.0011505880002005142

2
build/test/results/test_Vsubstract2.pass

@ -15,4 +15,4 @@
:failed: 0
:ignored: 0
:stdout: []
:time: 0.002443506000417983
:time: 0.0012061810002705897

2
build/test/results/test_Vsubstract3.pass

@ -15,4 +15,4 @@
:failed: 0
:ignored: 0
:stdout: []
:time: 0.002511253000193392
:time: 0.0024993879997055046

2
build/test/results/test_Zeitlohn.pass

@ -16,4 +16,4 @@
:ignored: 0
:stdout:
- Testergebniss 3450.000000
:time: 0.0017869519997475436
:time: 0.0049706149993653526

2
build/test/results/test_angebotserfolg.pass

@ -16,4 +16,4 @@
:ignored: 0
:stdout:
- Testergebniss 225.000000
:time: 0.0013867369998479262
:time: 0.001261364000129106

2
build/test/results/test_eigenkapital_Rentabilitaeten.pass

@ -16,4 +16,4 @@
:ignored: 0
:stdout:
- Testergebniss 62.500000
:time: 0.00348250399929384
:time: 0.0014512060006381944

2
build/test/results/test_erloesfunktion.pass

@ -16,4 +16,4 @@
:ignored: 0
:stdout:
- Testergebniss 4000.000000
:time: 0.00126094600000215
:time: 0.0011548620004759869

2
build/test/results/test_gesamtkapital_Rentabilitaeten.pass

@ -16,4 +16,4 @@
:ignored: 0
:stdout:
- Testergebniss 27.136929
:time: 0.003336929999932181
:time: 0.0012212159999762662

2
build/test/results/test_grenzGewinn.pass

@ -16,4 +16,4 @@
:ignored: 0
:stdout:
- Testergebniss 1141.000000
:time: 0.00164950599992153
:time: 0.0015224919998217956

2
build/test/results/test_marktanteil.pass

@ -16,4 +16,4 @@
:ignored: 0
:stdout:
- Testergebniss 21.739130
:time: 0.0014741160002813558
:time: 0.0015857910002523568

2
build/test/results/test_trapezFlaeche.pass

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

7
src/funktion.c

@ -202,8 +202,7 @@ double Vparallel(double x1, double x2, double x3, double z1, double z2, double z
return result;
}
float Vmiddle(float x1, float z1) {
x1 = x1 + z1;
printf("(%f|", x1 * 0.5);
x1 = x1 * 0.5;
return x1;
double result = x1 + z1;
result = result * 0.5;
return result;
}

4
src/main.c

@ -153,11 +153,7 @@ int main()
z3 = getValue('Z');
Vparallel(x1, x2, x3, z1, z2, z3);
printf("1. Vektor\n");
printf("x eingeben");
x1 = getValue('X');
printf("2. Vektor\n");
printf("a eingeben");
z1 = getValue('Z');
Vmiddle(x1, z1);

Loading…
Cancel
Save