Skip to content

Commit

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

* Fix file names
  • Loading branch information
ErikSchierboom authored Feb 15, 2024
1 parent caf5713 commit 27677be
Show file tree
Hide file tree
Showing 14 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion config.json
Original file line number Diff line number Diff line change
Expand Up @@ -2533,7 +2533,7 @@
"difficulty": 7
},
{
"slug": "pop-count",
"slug": "eliuds-eggs",
"name": "Eliud's Eggs",
"uuid": "2a3ecf62-fb5d-4dac-8369-72e7976a8f57",
"practices": [],
Expand Down
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,16 @@
],
"files": {
"solution": [
"pop-count.js"
"eliuds-eggs.js"
],
"test": [
"pop-count.spec.js"
"eliuds-eggs.spec.js"
],
"example": [
".meta/proof.ci.js"
]
},
"blurb": "Help Eliud count the number of eggs in her chicken coop by counting the number of 1 bits in a binary representation.",
"source": "Christian Willner, Eric Willigers",
"source_url": "https://forum.exercism.org/t/new-exercise-suggestion-pop-count/7632/5"
"source_url": "https://forum.exercism.org/t/new-exercise-suggestion-eliuds-eggs/7632/5"
}
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { eggCount } from './pop-count';
import { eggCount } from './eliuds-eggs';

describe('PopCount', () => {
describe('EliudsEggs', () => {
test('0 eggs', () => {
const expected = 0;
const actual = eggCount(0);
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@exercism/javascript-pop-count",
"description": "Exercism practice exercise on pop-count",
"name": "@exercism/javascript-eliuds-eggs",
"description": "Exercism practice exercise on eliuds-eggs",
"author": "Katrina Owen",
"contributors": [
"Cool-Katt (https://github.com/Cool-Katt)",
Expand All @@ -12,7 +12,7 @@
"repository": {
"type": "git",
"url": "https://github.com/exercism/javascript",
"directory": "exercises/practice/pop-count"
"directory": "exercises/practice/eliuds-eggs"
},
"devDependencies": {
"@babel/core": "^7.23.0",
Expand Down

0 comments on commit 27677be

Please sign in to comment.