-
-
Notifications
You must be signed in to change notification settings - Fork 158
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
syncing roman-numerals to the problem specification #669
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The docs and metadata for all exercises were synced a few days ago, and there haven't been any changes to the problem descriptions since. It seems like your branch is out of sync, which could be causing the PR to show changes that don’t actually exist. Maybe do a git rebase main
on your branch and then force-push?
26542a6
to
eb16768
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One test case is missing (1666), and the function three-thousand
is defined four times.
See suggestions.
@@ -55,3 +67,12 @@ | |||
|
|||
(deftest three-thousand | |||
(is (= "MMM" (roman-numerals/numerals 3000)))) | |||
|
|||
(deftest three-thousand |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
(deftest three-thousand | |
(deftest three-thousand-one |
(deftest three-thousand | ||
(is (= "MMMI" (roman-numerals/numerals 3001)))) | ||
|
||
(deftest three-thousand |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
(deftest three-thousand | |
(deftest three-thousand-eight-hundred-eighty-eight |
(deftest three-thousand | ||
(is (= "MMMDCCCLXXXVIII" (roman-numerals/numerals 3888)))) | ||
|
||
(deftest three-thousand |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
(deftest three-thousand | |
(deftest three-thousand-nine-hundred-ninety-nine |
@@ -55,3 +67,12 @@ | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
(deftest one-thousand-six-hundred-sixty-six | |
(is (= "MDCLXVI" (roman-numerals/numerals 1666)))) | |
Running sync on the roman numerals exercise to standardise the instructions and the test cases with the problem specification. Some of the test cases have changed so the solutions should be re-evaluated.