rust-leipzig / wiki

Markdown based wiki written in Rust
MIT License
17 stars 4 forks source link

Increase test coverage by adding unit tests #18

Closed saschagrunert closed 7 years ago

saschagrunert commented 7 years ago

Unit tests should go directly into the tests/ folder, whereas a basic test looks like:

#[test]
fn function_1_success() {
    assert!(true);
    assert_eq!(0, 0);
}