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
@@ -3,6 +3,10 @@ use ratatui::buffer::Buffer;
use ratatui::layout::Rect;
use ratatui::widgets::{Clear, Widget};
#[cfg(test)]
#[path = "popup_tests.rs"]
mod popup_tests;
pub struct Popup<T: Widget> {
widget: T,
percent_x: u16,