pop-count: rename to eliuds-eggs (#3615)

* 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>
This commit is contained in:
Erik Schierboom
2024-02-02 19:34:26 +01:00
committed by GitHub
parent 59a459abe8
commit 98e9bfeede
9 changed files with 7 additions and 7 deletions

View File

@@ -967,7 +967,7 @@
"difficulty": 2
},
{
"slug": "pop-count",
"slug": "eliuds-eggs",
"name": "Eliud's Eggs",
"uuid": "356e2d29-7efc-4fa3-bec7-8b61c3e967da",
"practices": ["loops"],

View File

@@ -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"

View File

@@ -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)