refactor(effects): move tests_*.rs to tests/<topic>.rs

This commit is contained in:
aiongg
2026-10-26 18:26:54 +00:00
parent 371c93ffe5
commit 113c15c64f
4 changed files with 4 additions and 5 deletions
-4
View File
@@ -57,10 +57,6 @@ mod warp;
#[cfg(test)]
mod tests;
#[cfg(test)]
mod tests_scale;
#[cfg(test)]
mod tests_transformfx;
use serde_json::{Map, Value, json};
use vectorcraft_doc::{Appearance, AppearanceItem, Effect, Node, NodeKind, StrokeLayer};
+3
View File
@@ -4,6 +4,9 @@ use vectorcraft_geom::{Affine, PathData, Point, Rect, Shape, SubPath, shapes};
use super::*;
mod scale;
mod transformfx;
fn fx(id: &str, params: Value) -> Effect {
Effect { id: id.into(), params, visible: true }
}
@@ -3,7 +3,7 @@
use serde_json::json;
use vectorcraft_doc::Effect;
use super::*;
use crate::*;
#[test]
fn every_distance_parameter_is_a_parameter() {