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() {}