Skip to content

Commit

Permalink
Fix Eliud's Eggs
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanplusplus committed Feb 2, 2024
1 parent ceacd39 commit c2328cc
Show file tree
Hide file tree
Showing 8 changed files with 12 additions and 12 deletions.
6 changes: 3 additions & 3 deletions exercises/practice/eliuds-eggs/.meta/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@
],
"files": {
"solution": [
"pop_count.c",
"pop_count.h"
"eliuds_eggs.c",
"eliuds_eggs.h"
],
"test": [
"test_pop_count.c"
"test_eliuds_eggs.c"
],
"example": [
".meta/example.c",
Expand Down
2 changes: 1 addition & 1 deletion exercises/practice/eliuds-eggs/.meta/example.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#include "pop_count.h"
#include "eliuds_eggs.h"

unsigned int egg_count(unsigned int value)
{
Expand Down
4 changes: 2 additions & 2 deletions exercises/practice/eliuds-eggs/.meta/example.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#ifndef POP_COUNT_H
#define POP_COUNT_H
#ifndef ELIUDS_EGGS_H
#define ELIUDS_EGGS_H

unsigned int egg_count(unsigned int value);

Expand Down
1 change: 1 addition & 0 deletions exercises/practice/eliuds-eggs/eliuds_eggs.c
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
#include "eliuds_eggs.h"
4 changes: 4 additions & 0 deletions exercises/practice/eliuds-eggs/eliuds_eggs.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#ifndef ELIUDS_EGGS_H
#define ELIUDS_EGGS_H

#endif
1 change: 0 additions & 1 deletion exercises/practice/eliuds-eggs/pop_count.c

This file was deleted.

4 changes: 0 additions & 4 deletions exercises/practice/eliuds-eggs/pop_count.h

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#include "test-framework/unity.h"
#include "pop_count.h"
#include "eliuds_eggs.h"

void setUp(void)
{
Expand Down

0 comments on commit c2328cc

Please sign in to comment.