lightningdevkit / lightning-liquidity

Other
27 stars 17 forks source link

LSPS2: Use `proptest` to test calculation utils #45

Closed tnull closed 10 months ago

tnull commented 11 months ago

We want to explore using proptest to give us better test coverage of the many parameters the LSP (Client) could configure.

Good first candidates to benefit from it would be our testing of calculate_amount_to_forward and compute_opening_fee.