Browse Source

test_Vparallel

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

47
build/test/cache/test_Vparallel.c

@ -0,0 +1,47 @@
#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_Vparallel_NeedToImplement(void)
{
double a = 1;
double b = 2;
double c = 3;
double d = 4;
double e = 5;
double f = 6;
double exp = Vparallel(a,b,c,d,e,f);
double result = 1.000000;
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)(22)));
}

4
build/test/dependencies/test_Vparallel.d

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

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

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

47
build/test/preprocess/files/test_Vparallel.c

@ -0,0 +1,47 @@
#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_Vparallel_NeedToImplement(void)
{
double a = 1;
double b = 2;
double c = 3;
double d = 4;
double e = 5;
double f = 6;
double exp = Vparallel(a,b,c,d,e,f);
double result = 1.000000;
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)(22)));
}

3
build/test/preprocess/includes/test_Vparallel.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
:stdout:
- Testergebniss 552.000000
:time: 0.0016890700007934356
:time: 0.0012497400002757786

2
build/test/results/test_Anlagenabnutzungsgrad.pass

@ -16,4 +16,4 @@
:ignored: 0
:stdout:
- Testergebniss 60.000000
:time: 0.0015604999998686253
:time: 0.005060217999925953

2
build/test/results/test_Anlagenintensitaet.pass

@ -16,4 +16,4 @@
:ignored: 0
:stdout:
- Testergebniss 4878.048780
:time: 0.0012162999992142431
:time: 0.008615955999630387

2
build/test/results/test_Anlagenproduktivitaet.pass

@ -16,4 +16,4 @@
:ignored: 0
:stdout:
- Testergebniss 18.203304
:time: 0.0012468559998524142
:time: 0.0021622880003633327

2
build/test/results/test_Arbeitsproduktivitaet.pass

@ -16,4 +16,4 @@
:ignored: 0
:stdout:
- Testergebniss 60.000000
:time: 0.001287804999265063
:time: 0.0013088839996271417

2
build/test/results/test_Cashflow_zu_Gesamtkapital.pass

@ -16,4 +16,4 @@
:ignored: 0
:stdout:
- Testergebniss 0.158038
:time: 0.0013746519998676376
:time: 0.0017928509996636421

2
build/test/results/test_Dynamische_Amortisationszeit.pass

@ -16,4 +16,4 @@
:ignored: 0
:stdout:
- Testergebniss 189.421906
:time: 0.0011843600004795007
:time: 0.002687037999749009

2
build/test/results/test_Effektivverzinsung.pass

@ -16,4 +16,4 @@
:ignored: 0
:stdout:
- Testergebniss 16.034390
:time: 0.0014828899993517553
:time: 0.0017613629997867974

2
build/test/results/test_Finanzierungsregeln.pass

@ -16,4 +16,4 @@
:ignored: 0
:stdout:
- Testergebniss 0.051041
:time: 0.0020255160006854567
:time: 0.004043442000693176

2
build/test/results/test_GewinnMaximum.pass

@ -16,4 +16,4 @@
:ignored: 0
:stdout:
- Testergebniss 251.000000
:time: 0.004688638000516221
:time: 0.0018972400002894574

2
build/test/results/test_Kalkulatorische_Zinsen.pass

@ -16,4 +16,4 @@
:ignored: 0
:stdout:
- Testergebniss 1.440000
:time: 0.0019926570003008237
:time: 0.0012323889995968784

2
build/test/results/test_Kritische_Menge.pass

@ -16,4 +16,4 @@
:ignored: 0
:stdout:
- Testergebniss -12.096026
:time: 0.001440089999960037
:time: 0.0019792809998762095

2
build/test/results/test_Stueckzeitakkort.pass

@ -16,4 +16,4 @@
:ignored: 0
:stdout:
- '96600.000000'
:time: 0.0012750730002153432
:time: 0.0018252840000059223

2
build/test/results/test_Vadd.pass

@ -15,4 +15,4 @@
:failed: 0
:ignored: 0
:stdout: []
:time: 0.0019428570003583445
:time: 0.0013749740001003374

2
build/test/results/test_Vaddx2.pass

@ -15,4 +15,4 @@
:failed: 0
:ignored: 0
:stdout: []
:time: 0.002937556000688346
:time: 0.001176945000224805

2
build/test/results/test_Vaddx3.pass

@ -15,4 +15,4 @@
:failed: 0
:ignored: 0
:stdout: []
:time: 0.0011702379997586831
:time: 0.0024171200002456317

2
build/test/results/test_Vlength.pass

@ -15,4 +15,4 @@
:failed: 0
:ignored: 0
:stdout: []
:time: 0.0016147529995578225
:time: 0.001283999999941443

2
build/test/results/test_Vmultiplier.pass

@ -15,4 +15,4 @@
:failed: 0
:ignored: 0
:stdout: []
:time: 0.0013668090005012346
:time: 0.002134501000000455

2
build/test/results/test_Vmultiplier2.pass

@ -15,4 +15,4 @@
:failed: 0
:ignored: 0
:stdout: []
:time: 0.00155162300052325
:time: 0.0012319309998929384

2
build/test/results/test_Vmultiplier3.pass

@ -15,4 +15,4 @@
:failed: 0
:ignored: 0
:stdout: []
:time: 0.001541782999993302
:time: 0.002427316000648716

18
build/test/results/test_Vparallel.pass

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

2
build/test/results/test_Vshift.pass

@ -15,4 +15,4 @@
:failed: 0
:ignored: 0
:stdout: []
:time: 0.0020277769999665907
:time: 0.0012833309992856812

2
build/test/results/test_Vsubstract.pass

@ -15,4 +15,4 @@
:failed: 0
:ignored: 0
:stdout: []
:time: 0.0015898250003374415
:time: 0.0011868620003951946

2
build/test/results/test_Vsubstract2.pass

@ -15,4 +15,4 @@
:failed: 0
:ignored: 0
:stdout: []
:time: 0.001201855000545038
:time: 0.0015723910000815522

2
build/test/results/test_Vsubstract3.pass

@ -15,4 +15,4 @@
:failed: 0
:ignored: 0
:stdout: []
:time: 0.0017088960003093234
:time: 0.0017394259994034655

2
build/test/results/test_Zeitlohn.pass

@ -16,4 +16,4 @@
:ignored: 0
:stdout:
- Testergebniss 3450.000000
:time: 0.001188326000374218
:time: 0.002668103999894811

2
build/test/results/test_angebotserfolg.pass

@ -16,4 +16,4 @@
:ignored: 0
:stdout:
- Testergebniss 225.000000
:time: 0.0014427030000661034
:time: 0.007555461999800173

2
build/test/results/test_eigenkapital_Rentabilitaeten.pass

@ -16,4 +16,4 @@
:ignored: 0
:stdout:
- Testergebniss 62.500000
:time: 0.002445236000312434
:time: 0.0024137139998856583

2
build/test/results/test_erloesfunktion.pass

@ -16,4 +16,4 @@
:ignored: 0
:stdout:
- Testergebniss 4000.000000
:time: 0.0014232940002329997
:time: 0.001649193000048399

2
build/test/results/test_gesamtkapital_Rentabilitaeten.pass

@ -16,4 +16,4 @@
:ignored: 0
:stdout:
- Testergebniss 27.136929
:time: 0.001533552999717358
:time: 0.001196817000163719

2
build/test/results/test_grenzGewinn.pass

@ -16,4 +16,4 @@
:ignored: 0
:stdout:
- Testergebniss 1141.000000
:time: 0.0013601000000562635
:time: 0.001234004000252753

2
build/test/results/test_marktanteil.pass

@ -16,4 +16,4 @@
:ignored: 0
:stdout:
- Testergebniss 21.739130
:time: 0.0011345820003043627
:time: 0.0013683229999514879

2
build/test/results/test_trapezFlaeche.pass

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

81
build/test/runners/test_Vparallel_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_Vparallel_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_Vparallel.c");
run_test(test_Vparallel_NeedToImplement, "test_Vparallel_NeedToImplement", 12);
return UnityEnd();
}

23
test/test_Vparallel.c

@ -0,0 +1,23 @@
#include "unity.h"
#include "funktion.h"
void setUp(void)
{
}
void tearDown(void)
{
}
void test_Vparallel_NeedToImplement(void)
{
double a = 1;
double b = 2;
double c = 3;
double d = 4;
double e = 5;
double f = 6;
double exp = Vparallel(a,b,c,d,e,f);
double result = 1.000000;
TEST_ASSERT_EQUAL_FLOAT(result,exp);
}
Loading…
Cancel
Save