()
| 840 | |
| 841 | #[test] |
| 842 | fn test_kv_table_render() { |
| 843 | let table = KeyValueTable::new().add("Name", "Alice").add("Age", "30"); |
| 844 | |
| 845 | let output = table.to_string(); |
| 846 | assert!(output.contains("Name")); |
| 847 | assert!(output.contains("Alice")); |
| 848 | assert!(output.contains("Age")); |
| 849 | assert!(output.contains("30")); |
| 850 | } |
| 851 | |
| 852 | #[test] |
| 853 | fn test_kv_table_custom_separator() { |