()
| 355 | |
| 356 | #[test] |
| 357 | fn affine_transform_normalizes_axis_position() { |
| 358 | let transform = Transform::affine(2.0, 10.0); |
| 359 | assert_eq!( |
| 360 | transform.transform_position(5.0, AxisScale::Linear, [0.0, 10.0]), |
| 361 | Some(0.5) |
| 362 | ); |
| 363 | } |
| 364 | |
| 365 | #[test] |
| 366 | fn axis_scale_is_applied_after_data_transform() { |
nothing calls this directly
no outgoing calls
no test coverage detected