[Refactor] fix some bugs in `nvm_is_natural_num`, add unit tests.
2 files changed