1
0
mirror of https://github.com/golang/go synced 2024-11-20 09:44:45 -07:00
go/src/strconv
Martin Möhrmann 878fa886a6 strconv: add atoi tests for uncommon bases and syntax errors
Edge cases like base 2 and 36 conversions are now covered.
Many tests are mirrored from the itoa tests.

Added more test cases for syntax errors.

Change-Id: Iad8b2fb4854f898c2bfa18cdeb0cb4a758fcfc2e
Reviewed-on: https://go-review.googlesource.com/2463
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Reviewed-by: Robert Griesemer <gri@golang.org>
2015-01-08 16:51:47 +00:00
..
testdata
atob_test.go
atob.go
atof_test.go
atof.go
atoi_test.go strconv: add atoi tests for uncommon bases and syntax errors 2015-01-08 16:51:47 +00:00
atoi.go
decimal_test.go
decimal.go
extfloat.go
fp_test.go
ftoa_test.go
ftoa.go
internal_test.go
isprint.go
itoa_test.go strconv/itoa: add test to generate the longest output string possible by formatBits 2014-12-27 22:35:08 +00:00
itoa.go strconv: optimize decimal to string conversion 2014-12-30 23:28:02 +00:00
makeisprint.go
quote_example_test.go
quote_test.go
quote.go
strconv_test.go