MCPcopy Create free account
hub / github.com/akazdayo/pixelart / test_decrease_color

Method test_decrease_color

tests/test_pipeline.py:279–283  ·  view source on GitHub ↗

decrease_color が適用できること

(self, rgb_image)

Source from the content-addressed store, hash-verified

277 assert result.image.shape[0] < rgb_image.shape[0]
278
279 def test_decrease_color(self, rgb_image):
280 """decrease_color が適用できること"""
281 opts = ProcessingOptions(no_convert=True, decrease_color=True)
282 result = process_image(rgb_image, opts)
283 assert result.image.dtype == np.uint8
284
285 def test_delete_alpha(self, rgba_image):
286 """delete_alpha が適用できること"""

Callers

nothing calls this directly

Calls 2

ProcessingOptionsClass · 0.90
process_imageFunction · 0.90

Tested by

no test coverage detected