mirror of
https://github.com/ElementsProject/lightning.git
synced 2024-11-19 18:11:28 +01:00
pylightning: adds a millisatoshi test class
This commit is contained in:
parent
c0069d8944
commit
bc5add399b
6
contrib/pylightning/tests/test_millisatoshi.py
Normal file
6
contrib/pylightning/tests/test_millisatoshi.py
Normal 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
|
Loading…
Reference in New Issue
Block a user