Browse Source

test_vPunkt

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

53
build/test/cache/test_vPunkt.c

@ -0,0 +1,53 @@
#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_vPunkt_NeedToImplement(void)
{
double x1 = 1;
double x2 = 2;
double x3 = 3;
double z1 = 4;
double z2 = 5;
double z3 = 6;
double p1 = 7;
double p2 = 8;
double p3 = 9;
double exp = vPunkt(x1,x2,x3,z1,z2,z3,p1,p2,p3);
double result = 0.000000;
UnityAssertEqualNumber((UNITY_INT)((result)), (UNITY_INT)((exp)), (
((void *)0)
), (UNITY_UINT)(25), UNITY_DISPLAY_STYLE_INT);
}

4
build/test/dependencies/test_vPunkt.d

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

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

BIN
build/test/out/c/test_vPunkt_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_Vangle.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_Vskalort.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

BIN
build/test/out/test_vPunkt.out

53
build/test/preprocess/files/test_vPunkt.c

@ -0,0 +1,53 @@
#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_vPunkt_NeedToImplement(void)
{
double x1 = 1;
double x2 = 2;
double x3 = 3;
double z1 = 4;
double z2 = 5;
double z3 = 6;
double p1 = 7;
double p2 = 8;
double p3 = 9;
double exp = vPunkt(x1,x2,x3,z1,z2,z3,p1,p2,p3);
double result = 0.000000;
UnityAssertEqualNumber((UNITY_INT)((result)), (UNITY_INT)((exp)), (
((void *)0)
), (UNITY_UINT)(25), UNITY_DISPLAY_STYLE_INT);
}

3
build/test/preprocess/includes/test_vPunkt.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.002399888999207178
:time: 0.004043380000439356

2
build/test/results/test_Anlagenabnutzungsgrad.pass

@ -16,4 +16,4 @@
:ignored: 0
:stdout:
- Testergebniss 60.000000
:time: 0.001325733999692602
:time: 0.0038506429991684854

2
build/test/results/test_Anlagenintensitaet.pass

@ -16,4 +16,4 @@
:ignored: 0
:stdout:
- Testergebniss 4878.048780
:time: 0.002281396000398672
:time: 0.008283400999061996

2
build/test/results/test_Anlagenproduktivitaet.pass

@ -16,4 +16,4 @@
:ignored: 0
:stdout:
- Testergebniss 18.203304
:time: 0.0023092510000424227
:time: 0.0021181489992159186

2
build/test/results/test_Arbeitsproduktivitaet.pass

@ -16,4 +16,4 @@
:ignored: 0
:stdout:
- Testergebniss 60.000000
:time: 0.0023830989994166885
:time: 0.0017539679993205937

2
build/test/results/test_Cashflow_zu_Gesamtkapital.pass

@ -16,4 +16,4 @@
:ignored: 0
:stdout:
- Testergebniss 0.158038
:time: 0.007011855999735417
:time: 0.0024564220002503134

2
build/test/results/test_Dynamische_Amortisationszeit.pass

@ -16,4 +16,4 @@
:ignored: 0
:stdout:
- Testergebniss 189.421906
:time: 0.0013021199993090704
:time: 0.0016407889997935854

2
build/test/results/test_Effektivverzinsung.pass

@ -16,4 +16,4 @@
:ignored: 0
:stdout:
- Testergebniss 16.034390
:time: 0.002492425999662373
:time: 0.002413800000795163

2
build/test/results/test_Finanzierungsregeln.pass

@ -16,4 +16,4 @@
:ignored: 0
:stdout:
- Testergebniss 0.051041
:time: 0.00147429199932958
:time: 0.0031261450003512437

2
build/test/results/test_GewinnMaximum.pass

@ -16,4 +16,4 @@
:ignored: 0
:stdout:
- Testergebniss 251.000000
:time: 0.001873303999673226
:time: 0.002019076999204117

2
build/test/results/test_Kalkulatorische_Zinsen.pass

@ -16,4 +16,4 @@
:ignored: 0
:stdout:
- Testergebniss 1.440000
:time: 0.0017593940010556253
:time: 0.002029960000072606

2
build/test/results/test_Kritische_Menge.pass

@ -16,4 +16,4 @@
:ignored: 0
:stdout:
- Testergebniss -12.096026
:time: 0.003066676999878837
:time: 0.0021258029992168304

2
build/test/results/test_Stueckzeitakkort.pass

@ -16,4 +16,4 @@
:ignored: 0
:stdout:
- '96600.000000'
:time: 0.0021466230009536957
:time: 0.001731338999888976

2
build/test/results/test_Vadd.pass

@ -15,4 +15,4 @@
:failed: 0
:ignored: 0
:stdout: []
:time: 0.0017158040009235265
:time: 0.0016733970005589072

2
build/test/results/test_Vaddx2.pass

@ -15,4 +15,4 @@
:failed: 0
:ignored: 0
:stdout: []
:time: 0.009013839999170159
:time: 0.002708939999138238

2
build/test/results/test_Vaddx3.pass

@ -15,4 +15,4 @@
:failed: 0
:ignored: 0
:stdout: []
:time: 0.0030124209988571238
:time: 0.0022359079994203057

2
build/test/results/test_Vangle.pass

@ -15,4 +15,4 @@
:failed: 0
:ignored: 0
:stdout: []
:time: 0.0015157560010266025
:time: 0.0023873749996710103

2
build/test/results/test_Vlength.pass

@ -15,4 +15,4 @@
:failed: 0
:ignored: 0
:stdout: []
:time: 0.0024006630010262597
:time: 0.0021646899986080825

2
build/test/results/test_Vmiddle.pass

@ -15,4 +15,4 @@
:failed: 0
:ignored: 0
:stdout: []
:time: 0.002326756999536883
:time: 0.002437608000036562

2
build/test/results/test_Vmiddle2.pass

@ -15,4 +15,4 @@
:failed: 0
:ignored: 0
:stdout: []
:time: 0.002608106000479893
:time: 0.001884641998913139

2
build/test/results/test_Vmiddle3.pass

@ -15,4 +15,4 @@
:failed: 0
:ignored: 0
:stdout: []
:time: 0.0040471239990438335
:time: 0.0018807079995895037

2
build/test/results/test_Vmultiplier.pass

@ -15,4 +15,4 @@
:failed: 0
:ignored: 0
:stdout: []
:time: 0.0018804369992722059
:time: 0.0015556889993604273

2
build/test/results/test_Vmultiplier2.pass

@ -15,4 +15,4 @@
:failed: 0
:ignored: 0
:stdout: []
:time: 0.006173394000143162
:time: 0.00185922600030608

2
build/test/results/test_Vmultiplier3.pass

@ -15,4 +15,4 @@
:failed: 0
:ignored: 0
:stdout: []
:time: 0.0031467860007978743
:time: 0.0017482869989180472

2
build/test/results/test_Vparallel.pass

@ -15,4 +15,4 @@
:failed: 0
:ignored: 0
:stdout: []
:time: 0.0034395319999021012
:time: 0.0037896190005994868

2
build/test/results/test_Vshift.pass

@ -15,4 +15,4 @@
:failed: 0
:ignored: 0
:stdout: []
:time: 0.0019837849995383294
:time: 0.0022176940001372714

2
build/test/results/test_Vskalort.pass

@ -15,4 +15,4 @@
:failed: 0
:ignored: 0
:stdout: []
:time: 0.00292253299994627
:time: 0.0017369569995935308

2
build/test/results/test_Vsubstract.pass

@ -15,4 +15,4 @@
:failed: 0
:ignored: 0
:stdout: []
:time: 0.0017591699997865362
:time: 0.0013082570003462024

2
build/test/results/test_Vsubstract2.pass

@ -15,4 +15,4 @@
:failed: 0
:ignored: 0
:stdout: []
:time: 0.0025469290012551937
:time: 0.001740650999636273

2
build/test/results/test_Vsubstract3.pass

@ -15,4 +15,4 @@
:failed: 0
:ignored: 0
:stdout: []
:time: 0.0018718180017458508
:time: 0.0042333060009696055

2
build/test/results/test_Zeitlohn.pass

@ -16,4 +16,4 @@
:ignored: 0
:stdout:
- Testergebniss 3450.000000
:time: 0.004910883000775357
:time: 0.0021997940002620453

2
build/test/results/test_angebotserfolg.pass

@ -16,4 +16,4 @@
:ignored: 0
:stdout:
- Testergebniss 225.000000
:time: 0.001999018999413238
:time: 0.0038179349994607037

2
build/test/results/test_eigenkapital_Rentabilitaeten.pass

@ -16,4 +16,4 @@
:ignored: 0
:stdout:
- Testergebniss 62.500000
:time: 0.003382340000825934
:time: 0.002843555999788805

2
build/test/results/test_erloesfunktion.pass

@ -16,4 +16,4 @@
:ignored: 0
:stdout:
- Testergebniss 4000.000000
:time: 0.0019166260008205427
:time: 0.0024632050008221995

2
build/test/results/test_gesamtkapital_Rentabilitaeten.pass

@ -16,4 +16,4 @@
:ignored: 0
:stdout:
- Testergebniss 27.136929
:time: 0.0038596659996983362
:time: 0.009073387000171351

2
build/test/results/test_grenzGewinn.pass

@ -16,4 +16,4 @@
:ignored: 0
:stdout:
- Testergebniss 1141.000000
:time: 0.008569053999963216
:time: 0.001832195999668329

2
build/test/results/test_marktanteil.pass

@ -16,4 +16,4 @@
:ignored: 0
:stdout:
- Testergebniss 21.739130
:time: 0.003991020999819739
:time: 0.003932005998649402

2
build/test/results/test_trapezFlaeche.pass

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

20
build/test/results/test_vPunkt.pass

@ -0,0 +1,20 @@
---
:source:
:path: test
:file: test_vPunkt.c
:successes:
- :test: test_vPunkt_NeedToImplement
:line: 12
:message: ''
:unity_test_time: 0
:failures: []
:ignores: []
:counts:
:total: 1
:passed: 1
:failed: 0
:ignored: 0
:stdout:
- Punkt liegt nicht auf Vektor
- ''
:time: 0.0015602870007569436

81
build/test/runners/test_vPunkt_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_vPunkt_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_vPunkt.c");
run_test(test_vPunkt_NeedToImplement, "test_vPunkt_NeedToImplement", 12);
return UnityEnd();
}

26
test/test_vPunkt.c

@ -0,0 +1,26 @@
#include "unity.h"
#include "funktion.h"
void setUp(void)
{
}
void tearDown(void)
{
}
void test_vPunkt_NeedToImplement(void)
{
double x1 = 1;
double x2 = 2;
double x3 = 3;
double z1 = 4;
double z2 = 5;
double z3 = 6;
double p1 = 7;
double p2 = 8;
double p3 = 9;
double exp = vPunkt(x1,x2,x3,z1,z2,z3,p1,p2,p3);
double result = 0.000000;
TEST_ASSERT_EQUAL(result,exp);
}
Loading…
Cancel
Save