MCPcopy Create free account
hub / github.com/blues/note / abs

Function abs

lib/bulk_test.go:21–26  ·  view source on GitHub ↗
(n int64)

Source from the content-addressed store, hash-verified

19const verboseBulkTest = false
20
21func abs(n int64) int64 {
22 if n < 0 {
23 return -n
24 }
25 return n
26}
27
28func TestBulkDecode(t *testing.T) {
29 ctx := context.Background()

Callers 1

TestBulkTimeFieldType23Function · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected