pub struct Solution; impl Solution { pub fn generate_parenthesis(n: i32) -> Vec { return vec![]; } } #[test] fn test1() { let mut actual = Solution::generate_parenthesis(3); actual.sort(); assert_eq!(actual, vec!["((()))","(()())","(())()","()(())","()()()"]); }