Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
Kata already present in codewars
There could be more test cases so we can verify our progress while we work on this kata.
This kata is a duplicate and either needs to introduce a defining factor or be unpublished.
That's not the way to write tests.
Try
Test.assertEquals(romanize(42), "XLII");
Then, for the random tests, define your own
_romanize
function in the tests box andTest.assertEquals(romanize(n), _romanize(n));
Also, take
romanize
out of Preloaded. That's not what it's for.This comment is hidden because it contains spoiler information about the solution