This is an app to sort list of royal names consist of ordinal number in roman numeral.
given the list of names [George VI, William II, Elizabeth I, William I] the sorted result should be [Elizabeth I, George VI, William I, William II]
- Golang: Please you can use this url https://golang.org/doc/install to install go on your machine.
- Clone this repo to your $GOPATH/src directory
- Build the app to create executable file with command
go build .
- Enter app root directory
- Execute command
./royal-rumble <input_filename>
for example./royal-rumble RoyalRumble/input1.txt
- Enter app root directory
- Execute command
go test ./...