1
0
mirror of https://github.com/emilk/egui.git synced 2026-09-01 14:20:04 -04:00
Files
egui/crates/egui_kittest/tests/tests.rs
2024-11-30 12:20:40 +01:00

17 lines
309 B
Rust

use egui_kittest::Harness;
#[test]
fn test_shrink() {
let mut harness = Harness::new_ui(|ui| {
ui.label("Hello, world!");
ui.separator();
ui.label("This is a test");
});
harness.fit_contents();
harness.run_with_eframe();
harness.wgpu_snapshot("test_shrink");
}