| 1 | use comfy_tablerust-analyzer cargo comfy-table 7.2.2 crate/::Tablerust-analyzer cargo comfy-table 7.2.2 table/Table#; |
| 2 | use unicode_widthrust-analyzer cargo unicode-width 0.2.2 crate/::UnicodeWidthStrrust-analyzer cargo unicode-width 0.2.2 UnicodeWidthStr#; |
| 3 | |
| 4 | mod add_predicaterust-analyzer cargo comfy-table 7.2.2 all/add_predicate/; |
| 5 | mod alignment_testrust-analyzer cargo comfy-table 7.2.2 all/alignment_test/; |
| 6 | #[cfg(feature = "tty")] |
| 7 | mod combined_testrust-analyzer cargo comfy-table 7.2.2 all/combined_test/; |
| 8 | mod constraints_testrust-analyzer cargo comfy-table 7.2.2 all/constraints_test/; |
| 9 | mod content_arrangement_testrust-analyzer cargo comfy-table 7.2.2 all/content_arrangement_test/; |
| 10 | mod countsrust-analyzer cargo comfy-table 7.2.2 all/counts/; |
| 11 | mod custom_delimiter_testrust-analyzer cargo comfy-table 7.2.2 all/custom_delimiter_test/; |
| 12 | mod edge_casesrust-analyzer cargo comfy-table 7.2.2 all/edge_cases/; |
| 13 | mod hidden_testrust-analyzer cargo comfy-table 7.2.2 all/hidden_test/; |
| 14 | #[cfg(feature = "custom_styling")] |
| 15 | mod inner_style_testrust-analyzer cargo comfy-table 7.2.2 all/inner_style_test/; |
| 16 | mod modifiers_testrust-analyzer cargo comfy-table 7.2.2 all/modifiers_test/; |
| 17 | mod padding_testrust-analyzer cargo comfy-table 7.2.2 all/padding_test/; |
| 18 | mod presets_testrust-analyzer cargo comfy-table 7.2.2 all/presets_test/; |
| 19 | mod property_testrust-analyzer cargo comfy-table 7.2.2 all/property_test/; |
| 20 | mod simple_testrust-analyzer cargo comfy-table 7.2.2 all/simple_test/; |
| 21 | #[cfg(feature = "tty")] |
| 22 | mod styling_testrust-analyzer cargo comfy-table 7.2.2 all/styling_test/; |
| 23 | mod truncationrust-analyzer cargo comfy-table 7.2.2 all/truncation/; |
| 24 | mod utf_8_charactersrust-analyzer cargo comfy-table 7.2.2 all/utf_8_characters/; |
| 25 | |
| 26 | pub fn assert_table_line_widthrust-analyzer cargo comfy-table 7.2.2 all/assert_table_line_width().(table: &Tablerust-analyzer cargo comfy-table 7.2.2 table/Table#, count: usize) { |
| 27 | for line in table.linesrust-analyzer cargo comfy-table 7.2.2 table/impl#[Table]lines().() { |
| 28 | assert_eqrust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/assert_eq!!(line.widthrust-analyzer cargo unicode-width 0.2.2 impl#[str][UnicodeWidthStr]width().(), count); |
| 29 | } |
| 30 | } |