Browse Source

Minor Fixes

remotes/origin/David
David Moeller 11 months ago
parent
commit
adce56939d
  1. 2
      src/main/c/Snake/snake_start.h
  2. 4
      test/Snake/test_collision.c

2
src/main/c/Snake/snake_start.h

@ -1,6 +1,8 @@
#ifndef SNAKE_START_H #ifndef SNAKE_START_H
#define SNAKE_START_H #define SNAKE_START_H
#include <stdbool.h>
typedef struct Snake{ typedef struct Snake{
signed char direction; signed char direction;
char length; char length;

4
test/Snake/test_collision.c

@ -1,8 +1,8 @@
#ifdef TEST #ifdef TEST
#include "unity.h" #include "unity.h"
#include <stdbool.h> #include <stdbool.h>
#include "../../src/main/c/Snake/snake_start.h"
#include "../../src/main/c/Snake/get_character.h"
#include "snake_start.h"
#include "get_character.h"
void setUp(void){} void setUp(void){}

Loading…
Cancel
Save