mirror of
https://github.com/storytold/wordcraft.git
synced 2026-10-29 21:07:24 -06:00
refactor(ui-egui): move test files to tests/
This commit is contained in:
@@ -3409,8 +3409,6 @@ fn control_click_as_secondary(events: &mut [egui::Event], held: &mut bool) {
|
||||
}
|
||||
}
|
||||
|
||||
#[cfg(test)]
|
||||
mod tests_perf;
|
||||
|
||||
/// Every `.rs` file under `dir`, subdirectories included, in a fixed order: tests that scan the
|
||||
/// sources must keep seeing code that moves into a module directory.
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
use super::*;
|
||||
use egui_kittest::kittest::Queryable;
|
||||
|
||||
mod perf;
|
||||
|
||||
fn mod_key(key: egui::Key) -> egui::Event {
|
||||
egui::Event::Key { key, physical_key: None, pressed: true, repeat: false, modifiers: egui::Modifiers::COMMAND }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user