Add a docstest for this bug

This commit is contained in:
Benjamin Bertrand 2016-03-22 09:29:11 +03:00
parent e0a160076c
commit 6766ae0002

View File

@ -406,6 +406,11 @@ class AbstractPolynom(Explicable):
7
>>> c.steps
[< Step [2, 2, *, 3, +]>, < Step [4, 3, +]>, < Step [4, 3, +]>, < Step [7]>]
>>> c = AbstractPolynom.smpl_coef_list([0, 2, 0])
>>> c
2
>>> c.steps
[< Step [2]>]
"""
# Simplify each element before adding them
smpl_elem = []