From 3879c21f0cf2a7cf7d885ea20f1cc9363c9ecbe8 Mon Sep 17 00:00:00 2001 From: Edoardo Pasca Date: Thu, 14 Mar 2019 14:54:15 +0000 Subject: fixed test_functions.py --- Wrappers/Python/test/test_functions.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/Wrappers/Python/test/test_functions.py b/Wrappers/Python/test/test_functions.py index 0741d1c..554d400 100644 --- a/Wrappers/Python/test/test_functions.py +++ b/Wrappers/Python/test/test_functions.py @@ -50,14 +50,8 @@ class TestFunction(unittest.TestCase): d = ImageData(np.random.randint(10, size=ag)) - f = mixed_L12Norm(alpha = 1).composition_with(op1) g = L2NormSq(alpha=0.5, b=noisy_data) - # Compare call of f - a1 = ImageData(op1.direct(d).power(2).sum(axis=0)).sqrt().sum() - #print(a1, f(d)) - self.assertEqual (a1, f(d)) - # Compare call of g a2 = g.alpha*(d - noisy_data).power(2).sum() #print(a2, g(d)) -- cgit v1.2.3