Browse Source

test_Vsubstract3

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

39
build/test/cache/test_Vsubstract3.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_Vsubstract_NeedToImplement(void)
{
double x3 = 50;
double z3 = 3;
double exp = Vsubstract3(x3,z3);
double result = 47;
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_Vsubstract3.d

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

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

BIN
build/test/out/c/test_Vsubstract3_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_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_Vsubstract3.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_Vsubstract_NeedToImplement(void)
{
double x3 = 50;
double z3 = 3;
double exp = Vsubstract3(x3,z3);
double result = 47;
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_Vsubstract3.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.0015376649998870562
:time: 0.0011916439998458372

2
build/test/results/test_Anlagenabnutzungsgrad.pass

@ -16,4 +16,4 @@
:ignored: 0
:stdout:
- Testergebniss 60.000000
:time: 0.001700594000340061
:time: 0.004062791000251309

2
build/test/results/test_Anlagenintensitaet.pass

@ -16,4 +16,4 @@
:ignored: 0
:stdout:
- Testergebniss 4878.048780
:time: 0.001330964999851858
:time: 0.002316302000053838

2
build/test/results/test_Anlagenproduktivitaet.pass

@ -16,4 +16,4 @@
:ignored: 0
:stdout:
- Testergebniss 18.203304
:time: 0.001911656000174844
:time: 0.0019596529996306344

2
build/test/results/test_Arbeitsproduktivitaet.pass

@ -16,4 +16,4 @@
:ignored: 0
:stdout:
- Testergebniss 60.000000
:time: 0.0018744730000435084
:time: 0.0014363260002028255

2
build/test/results/test_Cashflow_zu_Gesamtkapital.pass

@ -16,4 +16,4 @@
:ignored: 0
:stdout:
- Testergebniss 0.158038
:time: 0.0032855279996510944
:time: 0.002055373000075633

2
build/test/results/test_Dynamische_Amortisationszeit.pass

@ -16,4 +16,4 @@
:ignored: 0
:stdout:
- Testergebniss 189.421906
:time: 0.0012006910001218785
:time: 0.0012149599997428595

2
build/test/results/test_Effektivverzinsung.pass

@ -16,4 +16,4 @@
:ignored: 0
:stdout:
- Testergebniss 16.034390
:time: 0.0013134660002833698
:time: 0.0020793129997400683

2
build/test/results/test_Finanzierungsregeln.pass

@ -16,4 +16,4 @@
:ignored: 0
:stdout:
- Testergebniss 0.051041
:time: 0.0013043779999861727
:time: 0.001214873000208172

2
build/test/results/test_GewinnMaximum.pass

@ -16,4 +16,4 @@
:ignored: 0
:stdout:
- Testergebniss 251.000000
:time: 0.0014107279998825106
:time: 0.002470935000019381

2
build/test/results/test_Kalkulatorische_Zinsen.pass

@ -16,4 +16,4 @@
:ignored: 0
:stdout:
- Testergebniss 1.440000
:time: 0.0012557879999803845
:time: 0.0015604630002599151

2
build/test/results/test_Kritische_Menge.pass

@ -16,4 +16,4 @@
:ignored: 0
:stdout:
- Testergebniss -12.096026
:time: 0.0018055069999718398
:time: 0.0016033349997996993

2
build/test/results/test_Stueckzeitakkort.pass

@ -16,4 +16,4 @@
:ignored: 0
:stdout:
- '96600.000000'
:time: 0.0012287539998396824
:time: 0.0021118159997968178

2
build/test/results/test_Vadd.pass

@ -15,4 +15,4 @@
:failed: 0
:ignored: 0
:stdout: []
:time: 0.0011927850000574836
:time: 0.0011882580001838505

2
build/test/results/test_Vaddx2.pass

@ -15,4 +15,4 @@
:failed: 0
:ignored: 0
:stdout: []
:time: 0.0015016799998193164
:time: 0.0017169859997920867

2
build/test/results/test_Vaddx3.pass

@ -15,4 +15,4 @@
:failed: 0
:ignored: 0
:stdout: []
:time: 0.0012079489997631754
:time: 0.0011498449998725846

2
build/test/results/test_Vlength.pass

@ -15,4 +15,4 @@
:failed: 0
:ignored: 0
:stdout: []
:time: 0.0013131160003467812
:time: 0.0013133669999660924

2
build/test/results/test_Vshift.pass

@ -15,4 +15,4 @@
:failed: 0
:ignored: 0
:stdout: []
:time: 0.0014156890001686406
:time: 0.002090028000111488

2
build/test/results/test_Vsubstract.pass

@ -15,4 +15,4 @@
:failed: 0
:ignored: 0
:stdout: []
:time: 0.0012430850001692306
:time: 0.00182502999996359

2
build/test/results/test_Vsubstract2.pass

@ -15,4 +15,4 @@
:failed: 0
:ignored: 0
:stdout: []
:time: 0.0012745829999403213
:time: 0.0012332829996921646

19
build/test/results/test_Vsubstract3.pass

@ -0,0 +1,19 @@
---
:source:
:path: test
:file: test_Vsubstract3.c
:successes:
- :test: test_Vsubstract_NeedToImplement
:line: 12
:message: ''
:unity_test_time: 0
:failures: []
:ignores: []
:counts:
:total: 1
:passed: 1
:failed: 0
:ignored: 0
:stdout:
- "(47.000000: "
:time: 0.004608971999914502

2
build/test/results/test_Zeitlohn.pass

@ -16,4 +16,4 @@
:ignored: 0
:stdout:
- Testergebniss 3450.000000
:time: 0.001277563000257942
:time: 0.0016336050002792035

2
build/test/results/test_angebotserfolg.pass

@ -16,4 +16,4 @@
:ignored: 0
:stdout:
- Testergebniss 225.000000
:time: 0.0013663760000781622
:time: 0.0014144070000838838

2
build/test/results/test_eigenkapital_Rentabilitaeten.pass

@ -16,4 +16,4 @@
:ignored: 0
:stdout:
- Testergebniss 62.500000
:time: 0.0012845739997828787
:time: 0.001750366000123904

2
build/test/results/test_erloesfunktion.pass

@ -16,4 +16,4 @@
:ignored: 0
:stdout:
- Testergebniss 4000.000000
:time: 0.0018148030003430904
:time: 0.002237781000076211

2
build/test/results/test_gesamtkapital_Rentabilitaeten.pass

@ -16,4 +16,4 @@
:ignored: 0
:stdout:
- Testergebniss 27.136929
:time: 0.0012738159998662013
:time: 0.002609437000046455

2
build/test/results/test_grenzGewinn.pass

@ -16,4 +16,4 @@
:ignored: 0
:stdout:
- Testergebniss 1141.000000
:time: 0.0012936210000589199
:time: 0.001293438999709906

2
build/test/results/test_marktanteil.pass

@ -16,4 +16,4 @@
:ignored: 0
:stdout:
- Testergebniss 21.739130
:time: 0.001565768999626016
:time: 0.005872603000170784

2
build/test/results/test_trapezFlaeche.pass

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

81
build/test/runners/test_Vsubstract3_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_Vsubstract_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_Vsubstract3.c");
run_test(test_Vsubstract_NeedToImplement, "test_Vsubstract_NeedToImplement", 12);
return UnityEnd();
}

19
test/test_Vsubstract3.c

@ -0,0 +1,19 @@
#include "unity.h"
#include "funktion.h"
void setUp(void)
{
}
void tearDown(void)
{
}
void test_Vsubstract_NeedToImplement(void)
{
double x3 = 50;
double z3 = 3;
double exp = Vsubstract3(x3,z3);
double result = 47;
TEST_ASSERT_EQUAL_FLOAT(result,exp);
}
Loading…
Cancel
Save