Added unit tests for all the new widgets

This commit is contained in:
2024-02-13 12:03:56 -07:00
parent 6ba78cb4ba
commit 649f4b5e3b
16 changed files with 611 additions and 1 deletions
+4
View File
@@ -11,6 +11,10 @@ use ratatui::prelude::{Style, Stylize, Text};
use ratatui::widgets::{Block, ListItem, Paragraph, Row, StatefulWidget, Table, Widget};
use std::fmt::Debug;
#[cfg(test)]
#[path = "managarr_table_tests.rs"]
mod managarr_table_tests;
pub struct ManagarrTable<'a, T, F>
where
F: Fn(&T) -> Row<'a>,