This commit is contained in:
Marc Planard 2023-07-01 17:19:48 +02:00
parent 6c0678ca1d
commit 1d61235e51

View File

@ -33,7 +33,7 @@ mod tests {
use super::*;
#[test]
fn test_homography_identity() {
fn identity_matrix_let_point_unchanged() {
let p0 = Point { x: -1500.0, y: 1500.0, ..Point::default() };
let edh = EDH::new(vec![
@ -53,7 +53,7 @@ mod tests {
}
#[test]
fn test_homography_rotation() {
fn rotation_matrix_rotate_the_point() {
let p0 = Point { x: -1500.0, y: 1500.0, ..Point::default() };
let edh = EDH::new(vec![