From 22a972d6e96ad61c2b0fbaeec1efe07f6c4cdd88 Mon Sep 17 00:00:00 2001 From: Kirill Date: Fri, 26 Dec 2025 13:53:12 +0300 Subject: [PATCH] feat(Tests): Added unit tests for strung --- src/string.rs | 3 +++ src/string/tests.rs | 6 ++++++ 2 files changed, 9 insertions(+) create mode 100644 src/string/tests.rs diff --git a/src/string.rs b/src/string.rs index 02f24e0..6db8bd0 100644 --- a/src/string.rs +++ b/src/string.rs @@ -1,3 +1,6 @@ mod my_str_strict; pub use my_str_strict::Str; + +#[cfg(test)] +mod tests; diff --git a/src/string/tests.rs b/src/string/tests.rs new file mode 100644 index 0000000..e98d4d9 --- /dev/null +++ b/src/string/tests.rs @@ -0,0 +1,6 @@ +use super::Str; + +#[test] +fn createdsucsessfuly() { + let _s: Str = Str::new(); +}