test(Str): Getter test

This commit is contained in:
Black_Raven committed 2025-12-26 15:01:32 +03:00
1 parent 22a972d6e9
commit 8719ec5731
1 file changed
+7
+7
View File
@@ -4,3 +4,10 @@ use super::Str;
fn createdsucsessfuly() { fn createdsucsessfuly() {
let _s: Str = Str::new(); let _s: Str = Str::new();
} }
#[test]
fn data_getter() {
let _s: Str = Str::new();
let data = _s.get_data();
assert!(data.is_empty());
}