Browse Source

input Handling module added

gitignore files added
xml_report plugin activated
master
Sophia Weber 11 months ago
parent
commit
1fff64319d
  1. 3
      .gitignore
  2. 1
      project.yml
  3. 8
      src/inputHandling.c
  4. 6
      src/inputHandling.h
  5. 2
      src/main.c
  6. 20
      test/test_inputHandling.c

3
.gitignore

@ -1,3 +1,6 @@
.vscode
build
cmake-build-debug
CMakeLists.txt
.idea
*.out

1
project.yml

@ -97,5 +97,6 @@
- "#{Ceedling.load_path}"
:enabled:
- stdout_pretty_tests_report
- xml_tests_report
- module_generator
...

8
src/inputHandling.c

@ -0,0 +1,8 @@
#include "inputHandling.h"
#include <stdio.h>
char a[200];
void input(){
scanf("%s", a);
}

6
src/inputHandling.h

@ -0,0 +1,6 @@
#ifndef INPUTHANDLING_H
#define INPUTHANDLING_H
extern void input();
#endif // INPUTHANDLING_H

2
src/main.c

@ -1,4 +1,6 @@
#include "helloWorld.h"
#include "inputHandling.h"
void main() {
input();
}

20
test/test_inputHandling.c

@ -0,0 +1,20 @@
#ifdef TEST
#include "unity.h"
#include "inputHandling.h"
void setUp(void)
{
}
void tearDown(void)
{
}
void test_inputHandling_NeedToImplement(void)
{
TEST_IGNORE_MESSAGE("Need to Implement inputHandling");
}
#endif // TEST
Loading…
Cancel
Save