MCPcopy Create free account
hub / github.com/imgproxy/imgproxy / String

Method String

processing/padding_test.go:38–45  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

36}
37
38func (r paddingTestCase) String() string {
39 var b bytes.Buffer
40
41 fmt.Fprintf(&b, "dpr_%g", r.dpr)
42 fmt.Fprintf(&b, "_pad_%d_%d_%d_%d", r.paddingTop, r.paddingRight, r.paddingBottom, r.paddingLeft)
43
44 return b.String()
45}
46
47func (s *PaddingTestSuite) TestPadding() {
48 testCases := []testCase[paddingTestCase]{

Callers 1

TestPaddingMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected