()
| 738 | |
| 739 | #[test] |
| 740 | fn test_table_add_row() { |
| 741 | let mut table = Table::new(); |
| 742 | table.set_header(vec!["Name", "Value"]); |
| 743 | table.add_row(vec!["foo", "42"]); |
| 744 | table.add_row(vec!["bar", "100"]); |
| 745 | assert_eq!(table.row_count(), 2); |
| 746 | } |
| 747 | |
| 748 | #[test] |
| 749 | fn test_table_render_basic() { |
nothing calls this directly
no test coverage detected