MCPcopy Create free account
hub / github.com/Shopify/go-lua / TestParseFloat

Function TestParseFloat

go_test.go:68–72  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

66}
67
68func TestParseFloat(t *testing.T) {
69 if f, err := strconv.ParseFloat("inf", 64); err != nil {
70 t.Error("ParseFloat('inf', 64) == ", f, err)
71 }
72}
73
74func TestUnsigned(t *testing.T) {
75 n := -1.0

Callers

nothing calls this directly

Calls 1

ErrorMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…