leftiness / hex_math

MIT License
4 stars 1 forks source link

33/faster tests #71

Closed leftiness closed 7 years ago

leftiness commented 7 years ago

Moved tests from docs to test modules. Tests are now compiled in advance, and they run way faster: couple seconds vs couple minutes. You can see the tests by clicking the src link in the generated rustdocs. It's not as good as having an example right in the docs. If I find a way to get compiled tests in the docs, I'll do that.