Browse Source

refactoring:Vmultiplier

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

2
build/test/results/test_Anlagenabnutzungsgrad.pass

@ -16,4 +16,4 @@
:ignored: 0
:stdout:
- Testergebniss 60.000000
:time: 0.004150048000155948
:time: 0.0033103460000347695

2
build/test/results/test_Anlagenintensitaet.pass

@ -16,4 +16,4 @@
:ignored: 0
:stdout:
- Testergebniss 4878.048780
:time: 0.0022102869997979724
:time: 0.0016961540004558628

2
build/test/results/test_Anlagenproduktivitaet.pass

@ -16,4 +16,4 @@
:ignored: 0
:stdout:
- Testergebniss 18.203304
:time: 0.0018764860001283523
:time: 0.0011991999999736436

2
build/test/results/test_Arbeitsproduktivitaet.pass

@ -16,4 +16,4 @@
:ignored: 0
:stdout:
- Testergebniss 60.000000
:time: 0.002347222000025795
:time: 0.001657092000641569

2
build/test/results/test_Cashflow_zu_Gesamtkapital.pass

@ -16,4 +16,4 @@
:ignored: 0
:stdout:
- Testergebniss 0.158038
:time: 0.0013709830000152579
:time: 0.002164624999750231

2
build/test/results/test_Dynamische_Amortisationszeit.pass

@ -16,4 +16,4 @@
:ignored: 0
:stdout:
- Testergebniss 189.421906
:time: 0.0019218780003029678
:time: 0.0016079430006357143

2
build/test/results/test_Effektivverzinsung.pass

@ -16,4 +16,4 @@
:ignored: 0
:stdout:
- Testergebniss 16.034390
:time: 0.005771901000116486
:time: 0.001335736999863002

2
build/test/results/test_Finanzierungsregeln.pass

@ -16,4 +16,4 @@
:ignored: 0
:stdout:
- Testergebniss 0.051041
:time: 0.0011937150002268027
:time: 0.0012398809994920157

2
build/test/results/test_GewinnMaximum.pass

@ -16,4 +16,4 @@
:ignored: 0
:stdout:
- Testergebniss 251.000000
:time: 0.0026673659999687516
:time: 0.0015268019997165538

2
build/test/results/test_Kalkulatorische_Zinsen.pass

@ -16,4 +16,4 @@
:ignored: 0
:stdout:
- Testergebniss 1.440000
:time: 0.0013107139998282946
:time: 0.002399672000137798

2
build/test/results/test_Kritische_Menge.pass

@ -16,4 +16,4 @@
:ignored: 0
:stdout:
- Testergebniss -12.096026
:time: 0.0013885889998164203
:time: 0.002411744000710314

2
build/test/results/test_Stueckzeitakkort.pass

@ -16,4 +16,4 @@
:ignored: 0
:stdout:
- '96600.000000'
:time: 0.001338163000127679
:time: 0.001524582999991253

2
build/test/results/test_Vadd.pass

@ -15,4 +15,4 @@
:failed: 0
:ignored: 0
:stdout: []
:time: 0.0021597970003313094
:time: 0.0011768570002459455

2
build/test/results/test_Vaddx2.pass

@ -15,4 +15,4 @@
:failed: 0
:ignored: 0
:stdout: []
:time: 0.005232475999946473
:time: 0.00209341299978405

2
build/test/results/test_Vaddx3.pass

@ -15,4 +15,4 @@
:failed: 0
:ignored: 0
:stdout: []
:time: 0.0013573030000770814
:time: 0.0012140590006310958

2
build/test/results/test_Vlength.pass

@ -15,4 +15,4 @@
:failed: 0
:ignored: 0
:stdout: []
:time: 0.0026122079998458503
:time: 0.0015386689992737956

5
build/test/results/test_Vmultiplier.pass

@ -14,6 +14,5 @@
:passed: 1
:failed: 0
:ignored: 0
:stdout:
- "(|20.000000"
:time: 0.0017549280000821454
:stdout: []
:time: 0.0012664989999393583

2
build/test/results/test_Vshift.pass

@ -15,4 +15,4 @@
:failed: 0
:ignored: 0
:stdout: []
:time: 0.0012029929998789157
:time: 0.00138040500041825

2
build/test/results/test_Vsubstract.pass

@ -15,4 +15,4 @@
:failed: 0
:ignored: 0
:stdout: []
:time: 0.0018299929997738218
:time: 0.0014502859994536266

2
build/test/results/test_Vsubstract2.pass

@ -15,4 +15,4 @@
:failed: 0
:ignored: 0
:stdout: []
:time: 0.0015046779999465798
:time: 0.001272674000574625

2
build/test/results/test_Vsubstract3.pass

@ -15,4 +15,4 @@
:failed: 0
:ignored: 0
:stdout: []
:time: 0.0011397150001357659
:time: 0.0027915660002690856

2
build/test/results/test_Zeitlohn.pass

@ -16,4 +16,4 @@
:ignored: 0
:stdout:
- Testergebniss 3450.000000
:time: 0.0018422560001454258
:time: 0.002358335000280931

2
build/test/results/test_angebotserfolg.pass

@ -16,4 +16,4 @@
:ignored: 0
:stdout:
- Testergebniss 225.000000
:time: 0.0014194419995874341
:time: 0.0012216840004839469

2
build/test/results/test_eigenkapital_Rentabilitaeten.pass

@ -16,4 +16,4 @@
:ignored: 0
:stdout:
- Testergebniss 62.500000
:time: 0.004762472000038542
:time: 0.0017686459996184567

2
build/test/results/test_erloesfunktion.pass

@ -16,4 +16,4 @@
:ignored: 0
:stdout:
- Testergebniss 4000.000000
:time: 0.0012321650001467788
:time: 0.0017133679994003614

2
build/test/results/test_gesamtkapital_Rentabilitaeten.pass

@ -16,4 +16,4 @@
:ignored: 0
:stdout:
- Testergebniss 27.136929
:time: 0.0019845469996653264
:time: 0.0012150149996159598

2
build/test/results/test_grenzGewinn.pass

@ -16,4 +16,4 @@
:ignored: 0
:stdout:
- Testergebniss 1141.000000
:time: 0.0011917510000785114
:time: 0.0024163340003724443

2
build/test/results/test_marktanteil.pass

@ -16,4 +16,4 @@
:ignored: 0
:stdout:
- Testergebniss 21.739130
:time: 0.001232652999988204
:time: 0.0013112200003888574

2
build/test/results/test_trapezFlaeche.pass

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

5
src/funktion.c

@ -158,7 +158,6 @@ float Vsubstract3(float x3, float z3) {
return result;
}
float Vmultiplier(float x1,float m) {
x1 = x1 * m;
printf("(|%f",x1);
return x1;
double result = x1 * m;
return result;
}

2
src/main.c

@ -133,9 +133,7 @@ int main()
z3 = getValue('z');
Vsubstract3(x3, z3);
printf("x eingeben");
x1 = getValue('X');
printf("m eingeben");
m = getValue('M');
Vmultiplier(x1, m);
}
Loading…
Cancel
Save