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

Function TestPow

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

Source from the content-addressed store, hash-verified

57}
58
59func TestPow(t *testing.T) {
60 // if a, b := math.Pow(10.0, 33.0), 1.0e33; a != b {
61 // t.Errorf("%v != %v\n", a, b)
62 // }
63 if a, b := math.Pow10(33), 1.0e33; a != b {
64 t.Errorf("%v != %v\n", a, b)
65 }
66}
67
68func TestParseFloat(t *testing.T) {
69 if f, err := strconv.ParseFloat("inf", 64); err != nil {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…