MCPcopy Index your code
hub / github.com/codechenx/FastTableViewer / TestF2S_Basic

Function TestF2S_Basic

utils_test.go:41–47  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

39}
40
41func TestF2S_Basic(t *testing.T) {
42 result := F2S(42.0)
43 if result == "" {
44 t.Error("F2S should return a non-empty string")
45 }
46 t.Logf("F2S(42.0) = %s", result)
47}
48
49func TestS2F_Valid(t *testing.T) {
50 result := S2F("3.14")

Callers

nothing calls this directly

Calls 1

F2SFunction · 0.85

Tested by

no test coverage detected