Skip to content

Instantly share code, notes, and snippets.

@haru01
Created June 3, 2017 08:09
Show Gist options
  • Select an option

  • Save haru01/3ec2e5a48b6b71dabc0f4a5f0462ca3f to your computer and use it in GitHub Desktop.

Select an option

Save haru01/3ec2e5a48b6b71dabc0f4a5f0462ca3f to your computer and use it in GitHub Desktop.
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