cleanup
This commit is contained in:
parent
6c0678ca1d
commit
1d61235e51
@ -33,7 +33,7 @@ mod tests {
|
|||||||
use super::*;
|
use super::*;
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
fn test_homography_identity() {
|
fn identity_matrix_let_point_unchanged() {
|
||||||
let p0 = Point { x: -1500.0, y: 1500.0, ..Point::default() };
|
let p0 = Point { x: -1500.0, y: 1500.0, ..Point::default() };
|
||||||
|
|
||||||
let edh = EDH::new(vec![
|
let edh = EDH::new(vec![
|
||||||
@ -53,7 +53,7 @@ mod tests {
|
|||||||
}
|
}
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
fn test_homography_rotation() {
|
fn rotation_matrix_rotate_the_point() {
|
||||||
let p0 = Point { x: -1500.0, y: 1500.0, ..Point::default() };
|
let p0 = Point { x: -1500.0, y: 1500.0, ..Point::default() };
|
||||||
|
|
||||||
let edh = EDH::new(vec![
|
let edh = EDH::new(vec![
|
||||||
|
Loading…
Reference in New Issue
Block a user