Skip to content

Commit 6aab949

Browse files
committed
add another test
1 parent ae8a287 commit 6aab949

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

src/sage/combinat/k_regular_sequence.py

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1218,6 +1218,15 @@ def guess(self, f, n_max=100, max_exponent=10, sequence=None):
12181218
[ -1 2 0]
12191219
[13/3 -5/3 16/3]},
12201220
(1, 2, 0))
1221+
1222+
::
1223+
1224+
sage: two = Seq2.one_hadamard() * 2
1225+
sage: two.linear_representation()
1226+
((1), Finite family {0: [1], 1: [1]}, (2))
1227+
sage: two_again = Seq2.guess(lambda n: 2, sequence=two)
1228+
sage: two_again.linear_representation()
1229+
((1), Finite family {0: [1], 1: [1]}, (2))
12211230
"""
12221231
import logging
12231232
logger = logging.getLogger(__name__)

0 commit comments

Comments
 (0)