doctests are example code snippets in the doc string of the APIs and they can be tested like regular unit tests. Having doctests makes sure that our documentation is in sync with the API changes. We could add examples from the README in the doc strings to start with.
doctests are example code snippets in the doc string of the APIs and they can be tested like regular unit tests. Having doctests makes sure that our documentation is in sync with the API changes. We could add examples from the README in the doc strings to start with.