georust / geos

Rust bindings for GEOS
https://docs.rs/geos/
MIT License
122 stars 42 forks source link

Use skeptic to test code snippets in readme file #19

Closed mthh closed 6 years ago

mthh commented 6 years ago

By this PR I propose to use rust-skeptic to test the code snippets present in the README (@antoine-de you suggested it while discussing one of my previous PR).

We do not have many examples in this file but I think it can still be useful (it made me see a missing ? :))

The main drawback I can see is it adds a tests directory only for skeptic (maybe other integration tests will be added to it at some point, so it's not that bad?)