Skip to content

Commit

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

* Regenerated test file and renamed stub and test file.

* Changed exercise config file to match change in sub and test file naming.

* Corrected typo in exercise config for test file location.

---------

Co-authored-by: BethanyG <BethanyG@users.noreply.github.com>
  • Loading branch information
ErikSchierboom and BethanyG authored Feb 2, 2024
1 parent 59a459a commit 98e9bfe
Show file tree
Hide file tree
Showing 9 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion config.json
Original file line number Diff line number Diff line change
Expand Up @@ -967,7 +967,7 @@
"difficulty": 2
},
{
"slug": "pop-count",
"slug": "eliuds-eggs",
"name": "Eliud's Eggs",
"uuid": "356e2d29-7efc-4fa3-bec7-8b61c3e967da",
"practices": ["loops"],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@
],
"files": {
"solution": [
"pop_count.py"
"eliuds_eggs.py"
],
"test": [
"pop_count_test.py"
"eliuds_eggs_test.py"
],
"example": [
".meta/example.py"
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
# These tests are auto-generated with test data from:
# https://github.com/exercism/problem-specifications/tree/main/exercises/pop-count/canonical-data.json
# File last updated on 2023-10-18
# https://github.com/exercism/problem-specifications/tree/main/exercises/eliuds-eggs/canonical-data.json
# File last updated on 2024-02-02

import unittest

from pop_count import (
from eliuds_eggs import (
egg_count,
)


class PopCountTest(unittest.TestCase):
class EliudsEggsTest(unittest.TestCase):
def test_0_eggs(self):
expected = 0
self.assertEqual(egg_count(0), expected)
Expand Down

0 comments on commit 98e9bfe

Please sign in to comment.