X-Git-Url: http://gitweb.michael.orlitzky.com/?a=blobdiff_plain;f=src%2Ftest%2Fsymmetric_linear_game_test.py;h=647d0135b817ac18e4363c65b0cf549604ae2707;hb=dd7758c84633a2c72b164e440078ab737abea701;hp=f6f397f8354b983407e8abb61bd8997ee19ea5e3;hpb=a050ae7de2580d78ddb157262560542e7dc3abac;p=dunshire.git diff --git a/src/test/symmetric_linear_game_test.py b/src/test/symmetric_linear_game_test.py index f6f397f..647d013 100644 --- a/src/test/symmetric_linear_game_test.py +++ b/src/test/symmetric_linear_game_test.py @@ -1,4 +1,7 @@ -# These few are used only for tests. +""" +Unit tests for the :class:`SymmetricLinearGame` class. +""" + from math import sqrt from random import randint, uniform from unittest import TestCase @@ -251,15 +254,6 @@ class SymmetricLinearGameTest(TestCase): # pylint: disable=R0904 self.assertTrue(abs(first - second) < options.ABS_TOL) - def assert_norm_within_tol(self, first, second): - """ - Test that ``first`` and ``second`` vectors are equal in the - sense that the norm of their difference is within our default - tolerance. - """ - self.assert_within_tol(norm(first - second), 0) - - def assert_solution_exists(self, L, K, e1, e2): """ Given the parameters needed to construct a SymmetricLinearGame,