File: ftobasestr_test.go

package info (click to toggle)
golang-github-dop251-goja 0.0~git20250630.0.58d95d8-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,264 kB
  • sloc: javascript: 454; perl: 184; makefile: 6; sh: 1
file content (9 lines) | stat: -rw-r--r-- 153 bytes parent folder | download
1
2
3
4
5
6
7
8
9
package ftoa

import "testing"

func TestFToBaseStr(t *testing.T) {
	if s := FToBaseStr(0.8466400793967279, 36); s != "0.uh8u81s3fz" {
		t.Fatal(s)
	}
}