Last active
June 3, 2017 07:11
-
-
Save haru01/df443e16d74491c900ef335a7fb4f739 to your computer and use it in GitHub Desktop.
Arabian(1).ToRoman()
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package roman | |
| import ( | |
| "testing" | |
| ) | |
| func TestToRoman(t *testing.T) { | |
| if got, want := Arabian(1).ToRoman(), "I"; got != want { | |
| t.Errorf("Fail Arabian(1).ToRoman(): got %s want I", got) | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment