None of tests/stream_pause_resume.rs's existing tests exercise calling withdraw() in the exact same ledger timestamp as resume() (zero elapsed seconds since resume). Worth a dedicated test asserting the withdrawable amount correctly reflects zero newly-streamed tokens in that instant, to guard against an off-by-one in the elapsed-time math.
None of
tests/stream_pause_resume.rs's existing tests exercise callingwithdraw()in the exact same ledger timestamp asresume()(zero elapsed seconds since resume). Worth a dedicated test asserting the withdrawable amount correctly reflects zero newly-streamed tokens in that instant, to guard against an off-by-one in the elapsed-time math.