Browse Source

test_Vskalort

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

47
build/test/cache/test_Vskalort.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_Vskalort_NeedToImplement(void)
{
double x1 = 2;
double x2 = 6;
double x3 = 3;
double z1 = 7;
double z2 = 8;
double z3 = 2;
double exp = Vskalort(x1,x2,x3,z1,z2,z3);
double result = 0.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_Vskalort.d

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

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

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

47
build/test/preprocess/files/test_Vskalort.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_Vskalort_NeedToImplement(void)
{
double x1 = 2;
double x2 = 6;
double x3 = 3;
double z1 = 7;
double z2 = 8;
double z3 = 2;
double exp = Vskalort(x1,x2,x3,z1,z2,z3);
double result = 0.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_Vskalort.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.002545660999203392
:time: 0.002397113999904832

2
build/test/results/test_Anlagenabnutzungsgrad.pass

@ -16,4 +16,4 @@
:ignored: 0
:stdout:
- Testergebniss 60.000000
:time: 0.002538685999752488
:time: 0.0016378690006604302

2
build/test/results/test_Anlagenintensitaet.pass

@ -16,4 +16,4 @@
:ignored: 0
:stdout:
- Testergebniss 4878.048780
:time: 0.004581849999340193
:time: 0.0017037560000972007

2
build/test/results/test_Anlagenproduktivitaet.pass

@ -16,4 +16,4 @@
:ignored: 0
:stdout:
- Testergebniss 18.203304
:time: 0.0017254879994652583
:time: 0.0051029060005021165

2
build/test/results/test_Arbeitsproduktivitaet.pass

@ -16,4 +16,4 @@
:ignored: 0
:stdout:
- Testergebniss 60.000000
:time: 0.0023116329994081752
:time: 0.0015053550005177385

2
build/test/results/test_Cashflow_zu_Gesamtkapital.pass

@ -16,4 +16,4 @@
:ignored: 0
:stdout:
- Testergebniss 0.158038
:time: 0.0022821900001872564
:time: 0.0015520320002906374

2
build/test/results/test_Dynamische_Amortisationszeit.pass

@ -16,4 +16,4 @@
:ignored: 0
:stdout:
- Testergebniss 189.421906
:time: 0.0022331140007736394
:time: 0.003400005999537825

2
build/test/results/test_Effektivverzinsung.pass

@ -16,4 +16,4 @@
:ignored: 0
:stdout:
- Testergebniss 16.034390
:time: 0.0050449290001779445
:time: 0.0017292699994868599

2
build/test/results/test_Finanzierungsregeln.pass

@ -16,4 +16,4 @@
:ignored: 0
:stdout:
- Testergebniss 0.051041
:time: 0.002168306999919878
:time: 0.0016367239995815908

2
build/test/results/test_GewinnMaximum.pass

@ -16,4 +16,4 @@
:ignored: 0
:stdout:
- Testergebniss 251.000000
:time: 0.001717216000542976
:time: 0.0019253560003562598

2
build/test/results/test_Kalkulatorische_Zinsen.pass

@ -16,4 +16,4 @@
:ignored: 0
:stdout:
- Testergebniss 1.440000
:time: 0.0017055660000551143
:time: 0.002106973999616457

2
build/test/results/test_Kritische_Menge.pass

@ -16,4 +16,4 @@
:ignored: 0
:stdout:
- Testergebniss -12.096026
:time: 0.004407884999636735
:time: 0.0033816519999163575

2
build/test/results/test_Stueckzeitakkort.pass

@ -16,4 +16,4 @@
:ignored: 0
:stdout:
- '96600.000000'
:time: 0.0021876770006201696
:time: 0.0017116799999712384

2
build/test/results/test_Vadd.pass

@ -15,4 +15,4 @@
:failed: 0
:ignored: 0
:stdout: []
:time: 0.003116801000032865
:time: 0.002661763000105566

2
build/test/results/test_Vaddx2.pass

@ -15,4 +15,4 @@
:failed: 0
:ignored: 0
:stdout: []
:time: 0.0020752229993377114
:time: 0.0018148959998143255

2
build/test/results/test_Vaddx3.pass

@ -15,4 +15,4 @@
:failed: 0
:ignored: 0
:stdout: []
:time: 0.0019389480003155768
:time: 0.0019799410001724027

2
build/test/results/test_Vlength.pass

@ -15,4 +15,4 @@
:failed: 0
:ignored: 0
:stdout: []
:time: 0.002717704999668058
:time: 0.002191317999859166

2
build/test/results/test_Vmiddle.pass

@ -15,4 +15,4 @@
:failed: 0
:ignored: 0
:stdout: []
:time: 0.0018779680003717658
:time: 0.004097662999811291

2
build/test/results/test_Vmiddle2.pass

@ -15,4 +15,4 @@
:failed: 0
:ignored: 0
:stdout: []
:time: 0.0016672000001562992
:time: 0.0013325170002644882

2
build/test/results/test_Vmiddle3.pass

@ -15,4 +15,4 @@
:failed: 0
:ignored: 0
:stdout: []
:time: 0.001965518000361044
:time: 0.003859141999782878

2
build/test/results/test_Vmultiplier.pass

@ -15,4 +15,4 @@
:failed: 0
:ignored: 0
:stdout: []
:time: 0.009901792000164278
:time: 0.002156450000256882

2
build/test/results/test_Vmultiplier2.pass

@ -15,4 +15,4 @@
:failed: 0
:ignored: 0
:stdout: []
:time: 0.001948861000528268
:time: 0.006454375000430446

2
build/test/results/test_Vmultiplier3.pass

@ -15,4 +15,4 @@
:failed: 0
:ignored: 0
:stdout: []
:time: 0.0014362219999384251
:time: 0.002986141000292264

2
build/test/results/test_Vparallel.pass

@ -15,4 +15,4 @@
:failed: 0
:ignored: 0
:stdout: []
:time: 0.0023164080002970877
:time: 0.0016824849999466096

2
build/test/results/test_Vshift.pass

@ -15,4 +15,4 @@
:failed: 0
:ignored: 0
:stdout: []
:time: 0.0021940899996479857
:time: 0.0012992580004720367

18
build/test/results/test_Vskalort.pass

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

2
build/test/results/test_Vsubstract.pass

@ -15,4 +15,4 @@
:failed: 0
:ignored: 0
:stdout: []
:time: 0.0034324940006627003
:time: 0.00525231099982193

2
build/test/results/test_Vsubstract2.pass

@ -15,4 +15,4 @@
:failed: 0
:ignored: 0
:stdout: []
:time: 0.0027917010002056486
:time: 0.0019490300001052674

2
build/test/results/test_Vsubstract3.pass

@ -15,4 +15,4 @@
:failed: 0
:ignored: 0
:stdout: []
:time: 0.00917682599992986
:time: 0.0016022159998101415

2
build/test/results/test_Zeitlohn.pass

@ -16,4 +16,4 @@
:ignored: 0
:stdout:
- Testergebniss 3450.000000
:time: 0.0026447649997862754
:time: 0.0037747840005977196

2
build/test/results/test_angebotserfolg.pass

@ -16,4 +16,4 @@
:ignored: 0
:stdout:
- Testergebniss 225.000000
:time: 0.006574670000190963
:time: 0.002466604999426636

2
build/test/results/test_eigenkapital_Rentabilitaeten.pass

@ -16,4 +16,4 @@
:ignored: 0
:stdout:
- Testergebniss 62.500000
:time: 0.002319862000149442
:time: 0.0019096650003120885

2
build/test/results/test_erloesfunktion.pass

@ -16,4 +16,4 @@
:ignored: 0
:stdout:
- Testergebniss 4000.000000
:time: 0.0018385729999863543
:time: 0.0015110880003703642

2
build/test/results/test_gesamtkapital_Rentabilitaeten.pass

@ -16,4 +16,4 @@
:ignored: 0
:stdout:
- Testergebniss 27.136929
:time: 0.0036962340000172844
:time: 0.0015217259997371002

2
build/test/results/test_grenzGewinn.pass

@ -16,4 +16,4 @@
:ignored: 0
:stdout:
- Testergebniss 1141.000000
:time: 0.0023235939997903188
:time: 0.0014132480000625947

2
build/test/results/test_marktanteil.pass

@ -16,4 +16,4 @@
:ignored: 0
:stdout:
- Testergebniss 21.739130
:time: 0.0022107589993538568
:time: 0.002088727999762341

2
build/test/results/test_trapezFlaeche.pass

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

81
build/test/runners/test_Vskalort_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_Vskalort_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_Vskalort.c");
run_test(test_Vskalort_NeedToImplement, "test_Vskalort_NeedToImplement", 12);
return UnityEnd();
}

23
test/test_Vskalort.c

@ -0,0 +1,23 @@
#include "unity.h"
#include "funktion.h"
void setUp(void)
{
}
void tearDown(void)
{
}
void test_Vskalort_NeedToImplement(void)
{
double x1 = 2;
double x2 = 6;
double x3 = 3;
double z1 = 7;
double z2 = 8;
double z3 = 2;
double exp = Vskalort(x1,x2,x3,z1,z2,z3);
double result = 0.000000;
TEST_ASSERT_EQUAL_FLOAT(result,exp);
}
Loading…
Cancel
Save