Formatted Go code

This commit is contained in:
Brandon Dyck 2019-05-29 21:42:48 -06:00
parent 543ce1986a
commit 6f42553a9b

View File

@ -54,11 +54,11 @@ func TestInt(t *testing.T) {
} }
func TestFloat(t *testing.T) { func TestFloat(t *testing.T) {
for _, testcase := range []struct{ for _, testcase := range []struct {
name string name string
f float32 f float32
value string value string
} { }{
{name: "zero", f: 0, value: "0"}, {name: "zero", f: 0, value: "0"},
{name: "integral", f: 45, value: "45"}, {name: "integral", f: 45, value: "45"},
{name: "positive fractional, small positive exponent", f: 12.55, value: "12.55"}, {name: "positive fractional, small positive exponent", f: 12.55, value: "12.55"},