From b875c6fdc66a9723bc949a85c5374ef3c94bf7a2 Mon Sep 17 00:00:00 2001 From: Michael Orlitzky Date: Sat, 21 Nov 2020 11:37:50 -0500 Subject: [PATCH] eja: expand an existing subalgebra test. --- mjo/eja/eja_subalgebra.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/mjo/eja/eja_subalgebra.py b/mjo/eja/eja_subalgebra.py index 2ceba43..292c770 100644 --- a/mjo/eja/eja_subalgebra.py +++ b/mjo/eja/eja_subalgebra.py @@ -78,6 +78,9 @@ class FiniteDimensionalEuclideanJordanSubalgebraElement(FiniteDimensionalEuclide sage: y = A.random_element() sage: A(y.superalgebra_element()) == y True + sage: B = y.subalgebra_generated_by() + sage: B(y).superalgebra_element() == y + True """ W = self.parent().vector_space() -- 2.44.2