Browse Source

test_Vmiddle2

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

39
build/test/cache/test_Vmiddle2.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 x2 = 10;
double z2 = 34;
double exp = Vmiddle(x2,z2);
double result = 22;
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_Vmiddle2.d

@ -0,0 +1,4 @@
build/test/out/c/test_Vmiddle2.o: test/test_Vmiddle2.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_Vmiddle2_runner.d

@ -0,0 +1,4 @@
build/test/out/c/test_Vmiddle2_runner.o: \
build/test/runners/test_Vmiddle2_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_Vmiddle2.o

BIN
build/test/out/c/test_Vmiddle2_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_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_Vmiddle2.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 x2 = 10;
double z2 = 34;
double exp = Vmiddle(x2,z2);
double result = 22;
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_Vmiddle2.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.001214390999848547
:time: 0.0017314470005658222

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.0026800719997481792
:time: 0.0014881320003041765

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.0015219199995044619
:time: 0.002773400000478432

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.0036783360001209076
:time: 0.002147223999600101

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.0012291370003367774
:time: 0.0020234160001564305

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.0011639639997156337
:time: 0.002072707000479568

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.0011980389999735053
:time: 0.0022117200005595805

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.0015471679998881882
:time: 0.006845533999694453

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.0012156820002928725
:time: 0.006796829000450089

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.0018494120004106662
:time: 0.0016831200000524404

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.001229191999300383
:time: 0.001935133000188216

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.0023845510004321113
:time: 0.002501054000276781

2
build/test/results/test_Stueckzeitakkort.pass

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

2
build/test/results/test_Vadd.pass

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

2
build/test/results/test_Vaddx2.pass

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

2
build/test/results/test_Vaddx3.pass

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

2
build/test/results/test_Vlength.pass

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

2
build/test/results/test_Vmiddle.pass

@ -15,4 +15,4 @@
:failed: 0 :failed: 0
:ignored: 0 :ignored: 0
:stdout: [] :stdout: []
:time: 0.0025225429999409243
:time: 0.005504810999809706

18
build/test/results/test_Vmiddle2.pass

@ -0,0 +1,18 @@
---
:source:
:path: test
:file: test_Vmiddle2.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.0075450300000738935

2
build/test/results/test_Vmultiplier.pass

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

2
build/test/results/test_Vmultiplier2.pass

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

2
build/test/results/test_Vmultiplier3.pass

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

2
build/test/results/test_Vparallel.pass

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

2
build/test/results/test_Vshift.pass

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

2
build/test/results/test_Vsubstract.pass

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

2
build/test/results/test_Vsubstract2.pass

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

2
build/test/results/test_Vsubstract3.pass

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

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.0049706149993653526
:time: 0.001323896999565477

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.001261364000129106
:time: 0.005426359000011871

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.0014512060006381944
:time: 0.0034705970001596143

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.0011548620004759869
:time: 0.0026744320002762834

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.0012212159999762662
:time: 0.001988664000236895

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.0015224919998217956
:time: 0.0016964430005828035

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.0015857910002523568
:time: 0.0018845140002667904

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.0023656089997530216
:time: 0.001766296000823786

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

20
test/test_Vmiddle2.c

@ -0,0 +1,20 @@
#include "unity.h"
#include "funktion.h"
void setUp(void)
{
}
void tearDown(void)
{
}
void test_Vmiddle_NeedToImplement(void)
{
double x2 = 10;
double z2 = 34;
double exp = Vmiddle(x2,z2);
double result = 22;
TEST_ASSERT_EQUAL_FLOAT(result,exp);
}
Loading…
Cancel
Save