From 27e753d7a5ac8d504a4eae402890e37ba0f8d70f Mon Sep 17 00:00:00 2001 From: Erik Schierboom Date: Thu, 15 Feb 2024 14:27:00 +0100 Subject: [PATCH] Fix file names --- exercises/practice/eliuds-eggs/.meta/config.json | 6 +++--- exercises/practice/eliuds-eggs/gleam.toml | 2 +- .../src/{pop_count.gleam => eliuds_eggs.gleam} | 0 .../{pop_count_test.gleam => eliuds_eggs_test.gleam} | 10 +++++----- 4 files changed, 9 insertions(+), 9 deletions(-) rename exercises/practice/eliuds-eggs/src/{pop_count.gleam => eliuds_eggs.gleam} (100%) rename exercises/practice/eliuds-eggs/test/{pop_count_test.gleam => eliuds_eggs_test.gleam} (67%) diff --git a/exercises/practice/eliuds-eggs/.meta/config.json b/exercises/practice/eliuds-eggs/.meta/config.json index 907d27a1c..4f8721baf 100644 --- a/exercises/practice/eliuds-eggs/.meta/config.json +++ b/exercises/practice/eliuds-eggs/.meta/config.json @@ -4,10 +4,10 @@ ], "files": { "solution": [ - "src/pop_count.gleam" + "src/eliuds_eggs.gleam" ], "test": [ - "test/pop_count_test.gleam" + "test/eliuds_eggs_test.gleam" ], "example": [ ".meta/example.gleam" @@ -19,5 +19,5 @@ }, "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" } diff --git a/exercises/practice/eliuds-eggs/gleam.toml b/exercises/practice/eliuds-eggs/gleam.toml index 4c135884c..30441dd34 100644 --- a/exercises/practice/eliuds-eggs/gleam.toml +++ b/exercises/practice/eliuds-eggs/gleam.toml @@ -1,4 +1,4 @@ -name = "pop_count" +name = "eliuds_eggs" version = "0.1.0" [dependencies] diff --git a/exercises/practice/eliuds-eggs/src/pop_count.gleam b/exercises/practice/eliuds-eggs/src/eliuds_eggs.gleam similarity index 100% rename from exercises/practice/eliuds-eggs/src/pop_count.gleam rename to exercises/practice/eliuds-eggs/src/eliuds_eggs.gleam diff --git a/exercises/practice/eliuds-eggs/test/pop_count_test.gleam b/exercises/practice/eliuds-eggs/test/eliuds_eggs_test.gleam similarity index 67% rename from exercises/practice/eliuds-eggs/test/pop_count_test.gleam rename to exercises/practice/eliuds-eggs/test/eliuds_eggs_test.gleam index d50e7de3f..8f1161821 100644 --- a/exercises/practice/eliuds-eggs/test/pop_count_test.gleam +++ b/exercises/practice/eliuds-eggs/test/eliuds_eggs_test.gleam @@ -1,27 +1,27 @@ import exercism/test_runner import exercism/should -import pop_count +import eliuds_eggs pub fn main() { test_runner.main() } pub fn zero_eggs_test() { - pop_count.egg_count(0) + eliuds_eggs.egg_count(0) |> should.equal(0) } pub fn one_egg_test() { - pop_count.egg_count(16) + eliuds_eggs.egg_count(16) |> should.equal(1) } pub fn four_eggs_test() { - pop_count.egg_count(89) + eliuds_eggs.egg_count(89) |> should.equal(4) } pub fn thirteen_eggs_test() { - pop_count.egg_count(2_000_000_000) + eliuds_eggs.egg_count(2_000_000_000) |> should.equal(13) }