Examples
--------
- >>> condition_number(identity(1, typecode='d'))
- 1.0
- >>> condition_number(identity(2, typecode='d'))
- 1.0
>>> condition_number(identity(3, typecode='d'))
1.0
"""
from unittest import TestLoader, TestSuite, TextTestRunner
-from doctest import DocTestSuite
+from doctest import DocTestSuite, ELLIPSIS
from dunshire import cones
from dunshire import errors
"""
suite = TestSuite()
suite.addTest(DocTestSuite(cones))
- suite.addTest(DocTestSuite(errors))
- suite.addTest(DocTestSuite(games))
- suite.addTest(DocTestSuite(matrices))
+ suite.addTest(DocTestSuite(errors, optionflags=ELLIPSIS))
+ suite.addTest(DocTestSuite(games, optionflags=ELLIPSIS))
+ suite.addTest(DocTestSuite(matrices, optionflags=ELLIPSIS)))
suite.addTest(DocTestSuite(symmetric_linear_game_test))
suite.addTest(DocTestSuite(randomgen))
slg_tests = TestLoader().loadTestsFromModule(symmetric_linear_game_test)