boilerplate setup
This commit is contained in:
12
tests/state_changer.rs
Normal file
12
tests/state_changer.rs
Normal file
@@ -0,0 +1,12 @@
|
||||
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{
|
||||
state: String::from("State Owner Created!"),
|
||||
};
|
||||
|
||||
assert_eq!(example.state, "State Owner Created!");
|
||||
}
|
||||
Reference in New Issue
Block a user