Browse Source

test_Vmiddle3

main
fdai6887 2 years ago
parent
commit
39090559bf
  1. 39
      build/test/cache/test_Vmiddle3.c
  2. 4
      build/test/dependencies/test_Vmiddle3.d
  3. 4
      build/test/dependencies/test_Vmiddle3_runner.d
  4. BIN
      build/test/out/c/funktion.o
  5. BIN
      build/test/out/c/test_Vmiddle3.o
  6. BIN
      build/test/out/c/test_Vmiddle3_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_Vlength.out
  24. BIN
      build/test/out/test_Vmiddle.out
  25. BIN
      build/test/out/test_Vmiddle2.out
  26. BIN
      build/test/out/test_Vmiddle3.out
  27. BIN
      build/test/out/test_Vmultiplier.out
  28. BIN
      build/test/out/test_Vmultiplier2.out
  29. BIN
      build/test/out/test_Vmultiplier3.out
  30. BIN
      build/test/out/test_Vparallel.out
  31. BIN
      build/test/out/test_Vshift.out
  32. BIN
      build/test/out/test_Vsubstract.out
  33. BIN
      build/test/out/test_Vsubstract2.out
  34. BIN
      build/test/out/test_Vsubstract3.out
  35. BIN
      build/test/out/test_Zeitlohn.out
  36. BIN
      build/test/out/test_angebotserfolg.out
  37. BIN
      build/test/out/test_eigenkapital_Rentabilitaeten.out
  38. BIN
      build/test/out/test_erloesfunktion.out
  39. BIN
      build/test/out/test_gesamtkapital_Rentabilitaeten.out
  40. BIN
      build/test/out/test_grenzGewinn.out
  41. BIN
      build/test/out/test_marktanteil.out
  42. BIN
      build/test/out/test_trapezFlaeche.out
  43. 39
      build/test/preprocess/files/test_Vmiddle3.c
  44. 3
      build/test/preprocess/includes/test_Vmiddle3.c
  45. 2
      build/test/results/test_Akkortrichtsatz.pass
  46. 2
      build/test/results/test_Anlagenabnutzungsgrad.pass
  47. 2
      build/test/results/test_Anlagenintensitaet.pass
  48. 2
      build/test/results/test_Anlagenproduktivitaet.pass
  49. 2
      build/test/results/test_Arbeitsproduktivitaet.pass
  50. 2
      build/test/results/test_Cashflow_zu_Gesamtkapital.pass
  51. 2
      build/test/results/test_Dynamische_Amortisationszeit.pass
  52. 2
      build/test/results/test_Effektivverzinsung.pass
  53. 2
      build/test/results/test_Finanzierungsregeln.pass
  54. 2
      build/test/results/test_GewinnMaximum.pass
  55. 2
      build/test/results/test_Kalkulatorische_Zinsen.pass
  56. 2
      build/test/results/test_Kritische_Menge.pass
  57. 2
      build/test/results/test_Stueckzeitakkort.pass
  58. 2
      build/test/results/test_Vadd.pass
  59. 2
      build/test/results/test_Vaddx2.pass
  60. 2
      build/test/results/test_Vaddx3.pass
  61. 2
      build/test/results/test_Vlength.pass
  62. 2
      build/test/results/test_Vmiddle.pass
  63. 2
      build/test/results/test_Vmiddle2.pass
  64. 18
      build/test/results/test_Vmiddle3.pass
  65. 2
      build/test/results/test_Vmultiplier.pass
  66. 2
      build/test/results/test_Vmultiplier2.pass
  67. 2
      build/test/results/test_Vmultiplier3.pass
  68. 2
      build/test/results/test_Vparallel.pass
  69. 2
      build/test/results/test_Vshift.pass
  70. 2
      build/test/results/test_Vsubstract.pass
  71. 2
      build/test/results/test_Vsubstract2.pass
  72. 2
      build/test/results/test_Vsubstract3.pass
  73. 2
      build/test/results/test_Zeitlohn.pass
  74. 2
      build/test/results/test_angebotserfolg.pass
  75. 2
      build/test/results/test_eigenkapital_Rentabilitaeten.pass
  76. 2
      build/test/results/test_erloesfunktion.pass
  77. 2
      build/test/results/test_gesamtkapital_Rentabilitaeten.pass
  78. 2
      build/test/results/test_grenzGewinn.pass
  79. 2
      build/test/results/test_marktanteil.pass
  80. 2
      build/test/results/test_trapezFlaeche.pass
  81. 81
      build/test/runners/test_Vmiddle3_runner.c
  82. 20
      test/test_Vmiddle3.c

39
build/test/cache/test_Vmiddle3.c

@ -0,0 +1,39 @@
#include "src/funktion.h"
#include "/var/lib/gems/3.0.0/gems/ceedling-0.31.1/vendor/unity/src/unity.h"
void setUp(void)
{
}
void tearDown(void)
{
}
void test_Vmiddle_NeedToImplement(void)
{
double x3 = 11;
double z3 = 13;
double exp = Vmiddle(x3,z3);
double result = 12;
UnityAssertFloatsWithin((UNITY_FLOAT)((UNITY_FLOAT)((result)) * (UNITY_FLOAT)(0.00001f)), (UNITY_FLOAT)((UNITY_FLOAT)((result))), (UNITY_FLOAT)((UNITY_FLOAT)((exp))), ((
((void *)0)
)), (UNITY_UINT)((UNITY_UINT)(18)));
}

4
build/test/dependencies/test_Vmiddle3.d

@ -0,0 +1,4 @@
build/test/out/c/test_Vmiddle3.o: test/test_Vmiddle3.c \
/var/lib/gems/3.0.0/gems/ceedling-0.31.1/vendor/unity/src/unity.h \
/var/lib/gems/3.0.0/gems/ceedling-0.31.1/vendor/unity/src/unity_internals.h \
src/funktion.h

4
build/test/dependencies/test_Vmiddle3_runner.d

@ -0,0 +1,4 @@
build/test/out/c/test_Vmiddle3_runner.o: \
build/test/runners/test_Vmiddle3_runner.c \
/var/lib/gems/3.0.0/gems/ceedling-0.31.1/vendor/unity/src/unity.h \
/var/lib/gems/3.0.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_Vmiddle3.o

BIN
build/test/out/c/test_Vmiddle3_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_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

39
build/test/preprocess/files/test_Vmiddle3.c

@ -0,0 +1,39 @@
#include "src/funktion.h"
#include "/var/lib/gems/3.0.0/gems/ceedling-0.31.1/vendor/unity/src/unity.h"
void setUp(void)
{
}
void tearDown(void)
{
}
void test_Vmiddle_NeedToImplement(void)
{
double x3 = 11;
double z3 = 13;
double exp = Vmiddle(x3,z3);
double result = 12;
UnityAssertFloatsWithin((UNITY_FLOAT)((UNITY_FLOAT)((result)) * (UNITY_FLOAT)(0.00001f)), (UNITY_FLOAT)((UNITY_FLOAT)((result))), (UNITY_FLOAT)((UNITY_FLOAT)((exp))), ((
((void *)0)
)), (UNITY_UINT)((UNITY_UINT)(18)));
}

3
build/test/preprocess/includes/test_Vmiddle3.c

@ -0,0 +1,3 @@
---
- "/var/lib/gems/3.0.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 :ignored: 0
:stdout: :stdout:
- Testergebniss 552.000000 - Testergebniss 552.000000
:time: 0.0017328330004602321
:time: 0.003747833000488754

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.006140577999758534
:time: 0.00250506599968503

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.0025134480001725024
:time: 0.0013495670000338578

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.002877918000194768
:time: 0.0018762500003504101

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.008499601000039547
:time: 0.0018215910004073521

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.0017325250000794767
:time: 0.0012930249995406484

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.008665354000186198
:time: 0.0015211689997158828

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.0031762980006533326
:time: 0.0018382500002189772

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.0016555379997953423
:time: 0.0018007310000029975

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.004093991999980062
:time: 0.001573088000441203

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.0018228010003440431
:time: 0.0018461449999449542

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.002207948999966902
:time: 0.001979151000341517

2
build/test/results/test_Stueckzeitakkort.pass

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

2
build/test/results/test_Vadd.pass

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

2
build/test/results/test_Vaddx2.pass

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

2
build/test/results/test_Vaddx3.pass

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

2
build/test/results/test_Vlength.pass

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

2
build/test/results/test_Vmiddle.pass

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

2
build/test/results/test_Vmiddle2.pass

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

18
build/test/results/test_Vmiddle3.pass

@ -0,0 +1,18 @@
---
:source:
:path: test
:file: test_Vmiddle3.c
:successes:
- :test: test_Vmiddle_NeedToImplement
:line: 12
:message: ''
:unity_test_time: 0
:failures: []
:ignores: []
:counts:
:total: 1
:passed: 1
:failed: 0
:ignored: 0
:stdout: []
:time: 0.0016104749993246514

2
build/test/results/test_Vmultiplier.pass

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

2
build/test/results/test_Vmultiplier2.pass

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

2
build/test/results/test_Vmultiplier3.pass

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

2
build/test/results/test_Vparallel.pass

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

2
build/test/results/test_Vshift.pass

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

2
build/test/results/test_Vsubstract.pass

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

2
build/test/results/test_Vsubstract2.pass

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

2
build/test/results/test_Vsubstract3.pass

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

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.0033085079994634725
:time: 0.0015546719996564207

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.0014865550001559313
:time: 0.004903263999949559

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.002103877000081411
:time: 0.0020816420001210645

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.0016521990000910591
:time: 0.0016577799997321563

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.0035017109994441853
:time: 0.0017032109999490785

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.002711019000344095
:time: 0.002933798000412935

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.0022752230006517493
:time: 0.002566985999692406

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.001729229999909876
:time: 0.003971590000219294

81
build/test/runners/test_Vmiddle3_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_Vmiddle_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_Vmiddle3.c");
run_test(test_Vmiddle_NeedToImplement, "test_Vmiddle_NeedToImplement", 12);
return UnityEnd();
}

20
test/test_Vmiddle3.c

@ -0,0 +1,20 @@
#include "unity.h"
#include "funktion.h"
void setUp(void)
{
}
void tearDown(void)
{
}
void test_Vmiddle_NeedToImplement(void)
{
double x3 = 11;
double z3 = 13;
double exp = Vmiddle(x3,z3);
double result = 12;
TEST_ASSERT_EQUAL_FLOAT(result,exp);
}
Loading…
Cancel
Save