The Wayback Machine - https://web.archive.org/web/20201211085504/https://github.com/TheAlgorithms/Go/pull/172
Skip to content
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

Added roman to integer conversion #172

Closed
wants to merge 3 commits into from

Conversation

@Navid2zp
Copy link
Contributor

@Navid2zp Navid2zp commented Sep 10, 2020

Added roman to integer conversion and it's file link to DIRECTORY.md

return total
}

func main() {

This comment has been minimized.

@nomisrevol

nomisrevol Oct 1, 2020
Collaborator

Remove main function and create a new test file instead.

This comment has been minimized.

@Navid2zp

Navid2zp Oct 1, 2020
Author Contributor

The main function is removed and test files created.

DIRECTORY.md Show resolved Hide resolved
Navid2zp added 2 commits Oct 1, 2020
name string
}

var romanToIntegerTests = []romanToIntegerConversionTest{

This comment has been minimized.

@nomisrevol

nomisrevol Oct 1, 2020
Collaborator

Move the testcases inside of the test file. We do not need it to separated in a standalone file.

This comment has been minimized.

@Navid2zp

Navid2zp Oct 1, 2020
Author Contributor

Should I rename the test file to roman_to_integer_test.go or you want all the tests in one file like the way it is now?


//END TESTS

//BEGIN BENCHMARKS

This comment has been minimized.

@nomisrevol

nomisrevol Oct 1, 2020
Collaborator

No need to have benchmark for a single implementation, please remove all unnecessary like BEGIN TESTS or END TESTS also.

@Navid2zp Navid2zp closed this Oct 19, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

2 participants
You can’t perform that action at this time.