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:
@@ -967,7 +967,7 @@
|
||||
"difficulty": 2
|
||||
},
|
||||
{
|
||||
"slug": "pop-count",
|
||||
"slug": "eliuds-eggs",
|
||||
"name": "Eliud's Eggs",
|
||||
"uuid": "356e2d29-7efc-4fa3-bec7-8b61c3e967da",
|
||||
"practices": ["loops"],
|
||||
|
||||
@@ -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"
|
||||
@@ -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)
|
||||
Reference in New Issue
Block a user