From: Michael Orlitzky Date: Tue, 1 Nov 2016 12:57:29 +0000 (-0400) Subject: Remove some debug print() statements and fix a copy-paste-o in the tests. X-Git-Tag: 0.1.0~99 X-Git-Url: https://gitweb.michael.orlitzky.com/?a=commitdiff_plain;h=8da35f93fd8fafd2eaa3ae2f0466e75bd6876531;p=dunshire.git Remove some debug print() statements and fix a copy-paste-o in the tests. --- diff --git a/test/symmetric_linear_game_test.py b/test/symmetric_linear_game_test.py index 2978f11..12783f3 100644 --- a/test/symmetric_linear_game_test.py +++ b/test/symmetric_linear_game_test.py @@ -567,14 +567,10 @@ class SymmetricLinearGameTest(TestCase): # pylint: disable=R0904 if soln.game_value() > epsilon: # L should be positive stable positive_stable = all([eig > -options.ABS_TOL for eig in eigs]) - if not positive_stable: - print(str(eigs)) self.assertTrue(positive_stable) elif soln.game_value() < -epsilon: # L should be negative stable negative_stable = all([eig < options.ABS_TOL for eig in eigs]) - if not negative_stable: - print(str(eigs)) self.assertTrue(negative_stable) # The dual game's value should always equal the primal's. @@ -613,7 +609,7 @@ class SymmetricLinearGameTest(TestCase): # pylint: disable=R0904 while G._condition() > MAX_COND: # Try again until the condition number is satisfactory. - G = random_orthant_game() + G = random_icecream_game() L = random_lyapunov_like_icecream(G._K.dimension()) G = SymmetricLinearGame(L, G._K, G._e1, G._e2)