1 2 3 4 5 6 7 8 9
use crate::*; #[test] fn test_string() { let empty_string: String = string!(); assert!(empty_string.is_empty()); let hello_string: String = string!("Hello"); assert_eq!(hello_string, "Hello"); }