Created
June 3, 2017 08:09
-
-
Save haru01/3ec2e5a48b6b71dabc0f4a5f0462ca3f to your computer and use it in GitHub Desktop.
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 TestArabianToRoman(t *testing.T) { | |
| if got, want := Arabian(1).ToRoman(), Roman("I"); got != want { | |
| t.Errorf("Arabian(1).ToRoman(): got %v want %v", got, want) | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment