mirror of
https://codeberg.org/unspeaker/tengri.git
synced 2026-01-11 18:46:41 +01:00
This commit is contained in:
parent
1c21a85f27
commit
194f2f9874
7 changed files with 16 additions and 29 deletions
|
|
@ -1,7 +1,7 @@
|
|||
//! ```
|
||||
//! use ::tengri::{output::*, tui::*};
|
||||
//! let area: [u16;4] = [10, 10, 20, 20];
|
||||
//! fn test (area: [u16;4], item: &impl Content<TuiOut>, expected: [u16;4]) {
|
||||
//! fn test (area: [u16;4], item: &impl Render<TuiOut>, expected: [u16;4]) {
|
||||
//! assert_eq!(Content::layout(item, area), expected);
|
||||
//! assert_eq!(Render::layout(item, area), expected);
|
||||
//! };
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue