celestiaorg / nmt

Namespaced Merkle Tree
Apache License 2.0
107 stars 39 forks source link

add unit tests for `nextSubtreeSize` #265

Open rach-id opened 3 weeks ago

rach-id commented 3 weeks ago
          Is this func `nextSubtreeSize` unit tested? if not, I'd suggest adding unit tests for it in order to ensure its behaviour is aligned with what it is intended for.

_Originally posted by @staheri14 in https://github.com/celestiaorg/nmt/pull/260#discussion_r1653343583_