Skip to content

Commit 777eb4c

Browse files
committed
test: add zero case floor
1 parent 3a0792c commit 777eb4c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

BitkitTests/LnurlAmountConversionTests.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,6 @@ final class LnurlAmountConversionTests: XCTestCase {
1515
func testSatsFloorRoundsDown() {
1616
XCTAssertEqual(LnurlAmountConversion.satsFloor(fromMsats: 100_999), 100)
1717
XCTAssertEqual(LnurlAmountConversion.satsFloor(fromMsats: 100_000), 100)
18+
XCTAssertEqual(LnurlAmountConversion.satsFloor(fromMsats: 0), 0)
1819
}
1920
}

0 commit comments

Comments
 (0)