mirror of
https://github.com/slint-ui/slint.git
synced 2025-09-30 22:01:13 +00:00
15 lines
320 B
Rust
15 lines
320 B
Rust
// Copyright © SixtyFPS GmbH <info@sixtyfps.io>
|
|
// SPDX-License-Identifier: (GPL-3.0-only OR LicenseRef-SixtyFPS-commercial)
|
|
|
|
use ::sixtyfps::sixtyfps;
|
|
|
|
#[test]
|
|
fn simple_window() {
|
|
sixtyfps!(X := Window{});
|
|
X::new();
|
|
}
|
|
#[test]
|
|
fn empty_stuff() {
|
|
sixtyfps!();
|
|
sixtyfps!(struct Hei := { abcd: bool });
|
|
}
|