10 lines
309 B
Rust
10 lines
309 B
Rust
use state_queue::StateOwner;
|
|
|
|
#[test]
|
|
fn create_state_owner() {
|
|
//this test is just to show how to initialize state
|
|
//and verify that cargo test is actually working
|
|
let example = StateOwner::new(String::from("State Owner Created!"));
|
|
|
|
assert_eq!(example.get_state(), "State Owner Created!");
|
|
} |