From: Michael Orlitzky Date: Thu, 31 Dec 2015 04:25:44 +0000 (-0500) Subject: Add a description for the pointed_decomposition() doctest. X-Git-Url: http://gitweb.michael.orlitzky.com/?a=commitdiff_plain;ds=sidebyside;h=3da1b3bbfcc95758bcce3596a86b0697765bd177;hp=138b60c0dad476335a09e81642bff241c91932ca;p=sage.d.git Add a description for the pointed_decomposition() doctest. --- diff --git a/mjo/cone/cone.py b/mjo/cone/cone.py index 68edeb4..daeeb89 100644 --- a/mjo/cone/cone.py +++ b/mjo/cone/cone.py @@ -156,6 +156,10 @@ def pointed_decomposition(K): TESTS: + A random point in the cone should belong to either the pointed + subcone ``P`` or the subspace ``S``. If the point is nonzero, it + should lie in one but not both of them:: + sage: set_random_seed() sage: K = random_cone(max_ambient_dim=8) sage: (P,S) = pointed_decomposition(K)