pylightning: adds a millisatoshi test class

This commit is contained in:
Michael Schmoock 2019-09-03 13:38:44 +02:00 committed by Christian Decker
parent c0069d8944
commit bc5add399b

View File

@ -0,0 +1,6 @@
from lightning import Millisatoshi
def test_sum_radd():
result = sum([Millisatoshi(1), Millisatoshi(2), Millisatoshi(3)])
assert int(result) == 6