Debian Codegraph @

tests/all/mod.rs

raw symbols SCIP
1 use comfy_table::Table;
2 use unicode_width::UnicodeWidthStr;
3
4 mod add_predicate;
5 mod alignment_test;
6 #[cfg(feature = "tty")]
7 mod combined_test;
8 mod constraints_test;
9 mod content_arrangement_test;
10 mod counts;
11 mod custom_delimiter_test;
12 mod edge_cases;
13 mod hidden_test;
14 #[cfg(feature = "custom_styling")]
15 mod inner_style_test;
16 mod modifiers_test;
17 mod padding_test;
18 mod presets_test;
19 mod property_test;
20 mod simple_test;
21 #[cfg(feature = "tty")]
22 mod styling_test;
23 mod truncation;
24 mod utf_8_characters;
25
26 pub fn assert_table_line_width(table: &Table, count: usize) {
27 for line in table.lines() {
28 assert_eq!(line.width(), count);
29 }
30 }