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

Method runTestCase

processing/colorspace_test.go:68–74  ·  view source on GitHub ↗
(tc testCase[colorspaceTestCase])

Source from the content-addressed store, hash-verified

66}
67
68func (s *ColorspaceTestSuite) runTestCase(tc testCase[colorspaceTestCase]) {
69 if tc.opts.watermarkFile != "" {
70 s.Config().WatermarkImage.Path = s.TestData.Path(tc.opts.watermarkFile)
71 }
72
73 s.processImageAndCheck(tc)
74}
75
76func (s *ColorspaceTestSuite) TestColorspace() {
77 testCases := []testCase[colorspaceTestCase]{

Callers 4

TestColorspaceMethod · 0.95
TestLinearColorspaceMethod · 0.95
TestDownscaleHDRMethod · 0.95

Calls 2

PathMethod · 0.80
processImageAndCheckMethod · 0.80

Tested by

no test coverage detected