package main import "testing" func TestUintValue(t *testing.T) { if uintValue("42") != 42 || uintValue(float64(7)) != 7 || uintValue(nil) != 0 { t.Fatal("unexpected numeric conversion") } }