render_empty_test

Macro render_empty_test 

Source
macro_rules! render_empty_test {
    ($test_name:ident, $widget:expr) => { ... };
}
Expand description

Test that rendering to an empty area doesn’t panic.

§Examples

render_empty_test!(test_chart_empty, PieChart::default());