icedwright 0.0.1

The icedwright test harness: run an iced 0.14 program headlessly on virtual time
Documentation
1
2
3
4
5
6
7
// A scale factor is a checked `ScaleFactor`, never a bare `f32`.

fn check(harness: &mut icedwright::Harness<impl icedwright::TestProgram>) -> icedwright::Result {
    harness.main_window()?.set_scale_factor(2.0)
}

fn main() {}