rusty_helloworld 0.1.0

Mastering Rust, step by playful step.Rusty_Helloworld is your one-stop shop for exploring the diverse landscape of Rust through practical examples. Whether you're a beginner diving into basic concepts or an intermediate looking to solidify your understanding, this crate offers a unique learning experience with code that resonates.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
use rusty_helloworld;
mod common;

// To run only the integration tests, use "cargo test --test integration_test"

#[test]
fn it_adds_two_integ() {
    common::setup();
    assert_eq!(4, rusty_helloworld::adds_two(2));
}

// Cannot directly test a binary crate(main.rs) with integration tests