feat(v4): add docker-compose and production-ready application

This commit is contained in:
2026-07-09 10:15:44 +03:30
parent 2112e00982
commit ece63caa22
13 changed files with 482 additions and 30 deletions

View File

@@ -33,8 +33,7 @@ class AlgorithmTests(SimpleTestCase):
def test_histogram_equalization_spreads_two_levels(self):
image = np.array([[0, 0], [255, 255]], dtype=np.uint8)
result = histogram_equalization(image, {})
expected = np.dstack([image, image, image])
np.testing.assert_array_equal(result, expected)
np.testing.assert_array_equal(result, image)
def test_median_removes_impulse_noise(self):
image = np.full((3, 3, 3), 100, dtype=np.uint8)