Browse Source

Merge branch 'David' into 'main'

modified #include

See merge request pmuw_projekt/pmuw_projekt_notebinder!6
remotes/origin/fdai7775-main-patch-54732
fdai8032 11 months ago
parent
commit
deb1ad6af6
  1. BIN
      build/artifacts/release/project.out
  2. BIN
      build/release/out/c/main.o
  3. BIN
      build/release/project.out
  4. 17
      build/test/cache/test_template.c
  5. 4
      build/test/dependencies/test_template.d
  6. BIN
      build/test/out/c/test_template.o
  7. BIN
      build/test/out/test_template.out
  8. 17
      build/test/preprocess/files/test_template.c
  9. 3
      build/test/preprocess/includes/test_template.c
  10. 22
      build/test/results/test_template.pass
  11. 4
      test/test_template.c

BIN
build/artifacts/release/project.out

BIN
build/release/out/c/main.o

BIN
build/release/project.out

17
build/test/cache/test_template.c

@ -1,6 +1,5 @@
#include "test/../src/main/c/Template/game100.h"
#include "src/main/c/Template/game100.h"
#include "/var/lib/gems/2.7.0/gems/ceedling-0.31.1/vendor/unity/src/unity.h"
@ -37,7 +36,11 @@ void test_input_all_5(void){
TEST_ASSERT_EQUAL_INT(6, result);
UnityAssertEqualNumber((UNITY_INT)((6)), (UNITY_INT)((result)), (
((void *)0)
), (UNITY_UINT)(21), UNITY_DISPLAY_STYLE_INT);
}
@ -61,6 +64,10 @@ void test_ignore_rest_from_division(void){
TEST_ASSERT_EQUAL_INT(5, result);
UnityAssertEqualNumber((UNITY_INT)((5)), (UNITY_INT)((result)), (
((void *)0)
), (UNITY_UINT)(33), UNITY_DISPLAY_STYLE_INT);
}

4
build/test/dependencies/test_template.d

@ -1,2 +1,4 @@
build/test/out/c/test_template.o: test/test_template.c \
test/../src/main/c/Template/game100.h
/var/lib/gems/2.7.0/gems/ceedling-0.31.1/vendor/unity/src/unity.h \
/var/lib/gems/2.7.0/gems/ceedling-0.31.1/vendor/unity/src/unity_internals.h \
src/main/c/Template/game100.h

BIN
build/test/out/c/test_template.o

BIN
build/test/out/test_template.out

17
build/test/preprocess/files/test_template.c

@ -1,6 +1,5 @@
#include "test/../src/main/c/Template/game100.h"
#include "src/main/c/Template/game100.h"
#include "/var/lib/gems/2.7.0/gems/ceedling-0.31.1/vendor/unity/src/unity.h"
@ -37,7 +36,11 @@ void test_input_all_5(void){
TEST_ASSERT_EQUAL_INT(6, result);
UnityAssertEqualNumber((UNITY_INT)((6)), (UNITY_INT)((result)), (
((void *)0)
), (UNITY_UINT)(21), UNITY_DISPLAY_STYLE_INT);
}
@ -61,6 +64,10 @@ void test_ignore_rest_from_division(void){
TEST_ASSERT_EQUAL_INT(5, result);
UnityAssertEqualNumber((UNITY_INT)((5)), (UNITY_INT)((result)), (
((void *)0)
), (UNITY_UINT)(33), UNITY_DISPLAY_STYLE_INT);
}

3
build/test/preprocess/includes/test_template.c

@ -1,2 +1,3 @@
---
- test/../src/main/c/Template/game100.h
- "/var/lib/gems/2.7.0/gems/ceedling-0.31.1/vendor/unity/src/unity.h"
- src/main/c/Template/game100.h

22
build/test/results/test_template.pass

@ -0,0 +1,22 @@
---
:source:
:path: test
:file: test_template.c
:successes:
- :test: test_input_all_5
:line: 13
:message: ''
:unity_test_time: 0
- :test: test_ignore_rest_from_division
:line: 25
:message: ''
:unity_test_time: 0
:failures: []
:ignores: []
:counts:
:total: 2
:passed: 2
:failed: 0
:ignored: 0
:stdout: []
:time: 0.002492974977940321

4
test/test_template.c

@ -1,6 +1,6 @@
#ifdef TEST
#include "../Unity/src/unity.h"
#include "../src/main/c/Template/game100.h"
#include "unity.h"
#include "game100.h"
void setUp(void){

Loading…
Cancel
Save