Browse Source

pylightning: adds a millisatoshi test class

pull/2803/head
Michael Schmoock 5 years ago
committed by Christian Decker
parent
commit
bc5add399b
  1. 6
      contrib/pylightning/tests/test_millisatoshi.py

6
contrib/pylightning/tests/test_millisatoshi.py

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