Skip to content

afrihost/roman-numerals

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Roman Numerals Code Kata

Code Kata

A code kata is an exercise in programming which helps a programmer hone their skills through practice and repetition.

https://en.wikipedia.org/wiki/Kata_(programming)

TDD

Test-driven development (TDD) is a software development process that relies on the repetition of a very short development cycle: first the developer writes an (initially failing) automated test case that defines a desired improvement or new function, then produces the minimum amount of code to pass that test, and finally refactors the new code to acceptable standards.

https://en.wikipedia.org/wiki/Test-driven_development

Roman Numerals

The aim of the Roman numerals code kata is to create a conversion tool that will convert integers to Roman numeral representations.

  • Must be able to covert 1, should be converted to I
  • Must be able to covert 2, should be converted to II
  • Must be able to covert 4, should be converted to IV
  • Must be able to covert 5, should be converted to V
  • Must be able to covert 6, should be converted to VI
  • Must be able to covert 9, should be converted to IX
  • Must be able to covert 10, should be converted to X
  • Must be able to covert 11, should be converted to XI
  • Must be able to covert 20, should be converted to XX
  • Must be able to covert 40, should be converted to XL
  • Must be able to covert 50, should be converted to L
  • Must be able to covert 100, should be converted to C
  • Must be able to covert 500, should be converted to D
  • Must be able to covert 1000, should be converted to M
  • Must be able to covert 1999, should be converted to MCMXCIX
  • Must be able to covert 4990, should be converted to MMMMCMXC

About

Roman Numerals Code Kata

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages