14 lines
203 B
Rust
14 lines
203 B
Rust
use super::Str;
|
|
|
|
#[test]
|
|
fn createdsucsessfuly() {
|
|
let _s: Str = Str::new();
|
|
}
|
|
|
|
#[test]
|
|
fn data_getter() {
|
|
let _s: Str = Str::new();
|
|
let data = _s.get_data();
|
|
assert!(data.is_empty());
|
|
}
|