Browse Source

refactoring:Vsubstract3

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

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.004062791000251309
:time: 0.0012586769998961245

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.002316302000053838
:time: 0.0020376969996505068

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.0019596529996306344
:time: 0.0016753300001255411

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.0014363260002028255
:time: 0.0022975860001679393

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.002055373000075633
:time: 0.0011968789999627916

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.0012149599997428595
:time: 0.0014438329999393318

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.0020793129997400683
:time: 0.0021674159997928655

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.001214873000208172
:time: 0.0011690450000969577

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.002470935000019381
:time: 0.0012708089998341165

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.0015604630002599151
:time: 0.001587227000072744

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.0016033349997996993
:time: 0.001252633000149217

2
build/test/results/test_Stueckzeitakkort.pass

@ -16,4 +16,4 @@
:ignored: 0 :ignored: 0
:stdout: :stdout:
- '96600.000000' - '96600.000000'
:time: 0.0021118159997968178
:time: 0.0014349960001709405

2
build/test/results/test_Vadd.pass

@ -15,4 +15,4 @@
:failed: 0 :failed: 0
:ignored: 0 :ignored: 0
:stdout: [] :stdout: []
:time: 0.0011882580001838505
:time: 0.005964473999938491

2
build/test/results/test_Vaddx2.pass

@ -15,4 +15,4 @@
:failed: 0 :failed: 0
:ignored: 0 :ignored: 0
:stdout: [] :stdout: []
:time: 0.0017169859997920867
:time: 0.001503902999957063

2
build/test/results/test_Vaddx3.pass

@ -15,4 +15,4 @@
:failed: 0 :failed: 0
:ignored: 0 :ignored: 0
:stdout: [] :stdout: []
:time: 0.0011498449998725846
:time: 0.0030279849997896235

2
build/test/results/test_Vlength.pass

@ -15,4 +15,4 @@
:failed: 0 :failed: 0
:ignored: 0 :ignored: 0
:stdout: [] :stdout: []
:time: 0.0013133669999660924
:time: 0.001728690000163624

2
build/test/results/test_Vshift.pass

@ -15,4 +15,4 @@
:failed: 0 :failed: 0
:ignored: 0 :ignored: 0
:stdout: [] :stdout: []
:time: 0.002090028000111488
:time: 0.0011904409998351184

2
build/test/results/test_Vsubstract.pass

@ -15,4 +15,4 @@
:failed: 0 :failed: 0
:ignored: 0 :ignored: 0
:stdout: [] :stdout: []
:time: 0.00182502999996359
:time: 0.0024045290001595276

2
build/test/results/test_Vsubstract2.pass

@ -15,4 +15,4 @@
:failed: 0 :failed: 0
:ignored: 0 :ignored: 0
:stdout: [] :stdout: []
:time: 0.0012332829996921646
:time: 0.0012129009996897366

5
build/test/results/test_Vsubstract3.pass

@ -14,6 +14,5 @@
:passed: 1 :passed: 1
:failed: 0 :failed: 0
:ignored: 0 :ignored: 0
:stdout:
- "(47.000000: "
:time: 0.004608971999914502
:stdout: []
:time: 0.0017049500002030982

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.0016336050002792035
:time: 0.002231616000244685

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.0014144070000838838
:time: 0.002266382000016165

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.001750366000123904
:time: 0.003750263999791059

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.002237781000076211
:time: 0.0012785750000148255

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.002609437000046455
:time: 0.005784590999610373

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.001293438999709906
:time: 0.0013237190000836563

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.005872603000170784
:time: 0.004985405999832437

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.0012243179999131826
:time: 0.0022571319996131933

6
src/funktion.c

@ -154,8 +154,6 @@ float Vsubstract2(float x2, float z2) {
return result; return result;
} }
float Vsubstract3(float x3, float z3) { float Vsubstract3(float x3, float z3) {
float X3;
X3 = x3 - z3;
printf("(%f: \n",X3);
return X3;
double result = x3 - z3;
return result;
} }

2
src/main.c

@ -129,9 +129,7 @@ int main()
z2 = getValue('z'); z2 = getValue('z');
Vsubstract2(x2, z2); Vsubstract2(x2, z2);
printf("z eingeben");
x3 = getValue('X'); x3 = getValue('X');
printf("c eingeben");
z3 = getValue('z'); z3 = getValue('z');
Vsubstract3(x3, z3); Vsubstract3(x3, z3);
} }
Loading…
Cancel
Save