()
| 676 | |
| 677 | #[test] |
| 678 | fn test_column_builder() { |
| 679 | let col = Column::new("Value") |
| 680 | .align(Alignment::Right) |
| 681 | .min_width(10) |
| 682 | .max_width(50); |
| 683 | |
| 684 | assert_eq!(col.header, "Value"); |
| 685 | assert_eq!(col.alignment, Alignment::Right); |
| 686 | assert_eq!(col.min_width, 10); |
| 687 | assert_eq!(col.max_width, 50); |
| 688 | } |
| 689 | |
| 690 | // ------------------------------------------------------------------------- |
| 691 | // Row Tests |