RomanNumeralsTDD
Program for converting Arabic numerals into their Roman equivalents
Getting Started
- Clone this repo
git clone git@github.com:scass91/RomanNumeralsTDD
- Change directory
cd RomanNumeralsTDD
- Change directory into the source folder
cd src
- Interact with the program in irb
irb
- Load the program
require ./roman_numerals.rb
- Try it for yourself with any number below 4000
RomanNumerals.romanise(###)
Testing & Linting
Prerequisites
Terminal, ruby, git
My Approach
Through prior knowledge, I realised there are a few edge cases here which I had to account for. I made sure to write down the edge cases I was aware of at the beginning so as not to miss anything.
I also wanted to gain some learnings from my coding process here, I decided to record my coding session and uploaded it to YouTube