Skip to content

Commit

Permalink
pop-count: rename to eliuds-eggs (#955)
Browse files Browse the repository at this point in the history
* Rename the `pop-count` exercise to `eliuds-eggs`.

* Fix Eliud's Eggs

---------

Co-authored-by: Ryan Hartlage <[email protected]>
  • Loading branch information
ErikSchierboom and ryanplusplus authored Feb 2, 2024
1 parent 6c773f4 commit 48d3608
Show file tree
Hide file tree
Showing 16 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion config.json
Original file line number Diff line number Diff line change
Expand Up @@ -1029,7 +1029,7 @@
]
},
{
"slug": "pop-count",
"slug": "eliuds-eggs",
"name": "Eliud's Eggs",
"uuid": "8a813e24-6263-437d-a610-7f5da1456b7f",
"practices": [],
Expand Down
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
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
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
File renamed without changes.
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
1 change: 0 additions & 1 deletion exercises/practice/pop-count/pop_count.c

This file was deleted.

4 changes: 0 additions & 4 deletions exercises/practice/pop-count/pop_count.h

This file was deleted.

0 comments on commit 48d3608

Please sign in to comment.