Skip to content

Commit

Permalink
Add test for IntegerDigits[0]
Browse files Browse the repository at this point in the history
  • Loading branch information
bnjones committed Feb 5, 2015
1 parent 63edbe3 commit af2ef19
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions mathics/builtin/numeric.py
Original file line number Diff line number Diff line change
Expand Up @@ -469,6 +469,9 @@ class IntegerDigits(Builtin):
#> IntegerDigits[1000, 10]
= {1, 0, 0, 0}
#> IntegerDigits[0]
= {0}
"""

attributes = ('Listable',)
Expand Down

0 comments on commit af2ef19

Please sign in to comment.