Formatted Go code
This commit is contained in:
parent
543ce1986a
commit
6f42553a9b
@ -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"},
|
||||||
|
Loading…
Reference in New Issue
Block a user