aboutsummaryrefslogtreecommitdiff
path: root/src/layout/tests.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/layout/tests.rs')
-rw-r--r--src/layout/tests.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/layout/tests.rs b/src/layout/tests.rs
index ced647b6..17a8a30e 100644
--- a/src/layout/tests.rs
+++ b/src/layout/tests.rs
@@ -311,7 +311,9 @@ fn arbitrary_size_change() -> impl Strategy<Value = SizeChange> {
fn arbitrary_position_change() -> impl Strategy<Value = PositionChange> {
prop_oneof![
(-1000f64..1000f64).prop_map(PositionChange::SetFixed),
+ any::<f64>().prop_map(PositionChange::SetProportion),
(-1000f64..1000f64).prop_map(PositionChange::AdjustFixed),
+ any::<f64>().prop_map(PositionChange::AdjustProportion),
any::<f64>().prop_map(PositionChange::SetFixed),
any::<f64>().prop_map(PositionChange::AdjustFixed),
]