Skip to content

Instantly share code, notes, and snippets.

@haru01
Created May 31, 2017 15:20
Show Gist options
  • Select an option

  • Save haru01/6059b2e867263eb13882507c6e1c10b6 to your computer and use it in GitHub Desktop.

Select an option

Save haru01/6059b2e867263eb13882507c6e1c10b6 to your computer and use it in GitHub Desktop.
3
package roman
import (
"testing"
)
func TestToRoman(t *testing.T) {
if got, want := ToRoman(1), "I"; got != want {
t.Errorf("Fail ToRoman(1): got %s want I", got)
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment