]> git.feebdaed.xyz Git - 0xmirror/go.git/commit
internal/strconv: add testbase tests
authorRuss Cox <rsc@golang.org>
Tue, 11 Nov 2025 13:47:14 +0000 (05:47 -0800)
committerGopher Robot <gobot@golang.org>
Tue, 25 Nov 2025 21:44:38 +0000 (13:44 -0800)
commit89f6dba7e6a52f14f269349e1dd0d342aa132e1a
tree8a55e6d2e33855cb656ce67e1a6c8ebda9e3b9e9
parent6954be0baacd0f05edfd3015cc3ecfbf237b3967
internal/strconv: add testbase tests

Add ability to test against inputs chosen by from the stress
tests computed by Vern Paxson's testbase program.

Checked that 'go test -testbase' passes.

Change-Id: I81057e55df6cd369b40ce623a59884e6ead0ed76
Reviewed-on: https://go-review.googlesource.com/c/go/+/719620
Reviewed-by: Alan Donovan <adonovan@google.com>
Auto-Submit: Russ Cox <rsc@golang.org>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
src/internal/strconv/fp_test.go
src/internal/strconv/ftoa_test.go
src/internal/strconv/testdata/README [new file with mode: 0644]
src/internal/strconv/testdata/atof1k.txt [new file with mode: 0644]
src/internal/strconv/testdata/ftoa1k.txt [new file with mode: 0644]
src/internal/strconv/testdata/testfp.txt