Skip to content

Commit

Permalink
Enable doc-tests (#56)
Browse files Browse the repository at this point in the history
* Project is now a library with main-like function to enable doc testing

* fixed not working doc-tests

* fmt
  • Loading branch information
tudny authored Apr 30, 2023
1 parent 7a25186 commit 0975c2d
Show file tree
Hide file tree
Showing 4 changed files with 605 additions and 575 deletions.
5 changes: 5 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,11 @@ authors = ["Mieszko Grodzicki", "Aleksander Tudruj"]
name = "jp2gmd"
path = "src/main.rs"

[lib]
name = "jp2gmd_lib"
path = "src/lib.rs"
doctest = true

[features]
fft = []
clock = []
Expand Down
Loading

0 comments on commit 0975c2d

Please sign in to comment.