π Geometric Computer Vision Library for Spatial AI
Python artificial-intelligencecomputer-visiondeep-learninghacktoberfestimage-processingmachine-learningneural-networkpythonpytorchroboticsspatial-ai
Update test_image.py
Pulkit Khandelwalb1d33ed08c46
diff --git a/test/test_image.py b/test/test_image.pyindex 439d6df62..4897ad7f9 100644--- a/test/test_image.py+++ b/test/test_image.py@@ -55,13 +55,13 @@ class TestGaussianBlur:def test_get_laplacian_kernel(window_size):kernel = image.get_laplacian_kernel(window_size)assert kernel.shape == (window_size,)- assert kernel.sum().item() == pytest.approx(1.0)+ assert kernel.sum().item() == pytest.approx(0.0)def test_get_laplacian_kernel2d(window_size):kernel = image.get_laplacian_kernel2d(window_size)assert kernel.shape == window_size- assert kernel.sum().item() == pytest.approx(1.0)+ assert kernel.sum().item() == pytest.approx(0.0)class TestLaplacianBlur: