1 package ftoa 2 3 import "testing" 4 5 func TestFToBaseStr(t *testing.T) { 6 if s := FToBaseStr(0.8466400793967279, 36); s != "0.uh8u81s3fz" { 7 t.Fatal(s) 8 } 9 } 10
View as plain text