Skip to content

Commit

Permalink
update tests for arm64 (#199)
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelkirk committed Apr 24, 2024
1 parent 341fbdd commit ccd2256
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/proj.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1447,7 +1447,7 @@ mod test {
];
ft_to_m.convert_array(&mut v).unwrap();
assert_relative_eq!(v[0].x(), 1450880.2910605022f64);
assert_relative_eq!(v[1].y(), 1141293.7960220438);
assert_relative_eq!(v[1].y(), 1141293.7960220438, epsilon = 1e-8);
}

#[test]
Expand All @@ -1460,8 +1460,8 @@ mod test {
// 👽
let usa_m = MyPoint::new(-115.797615, 37.2647978);
let usa_ft = to_feet.convert(usa_m).unwrap();
assert_eq!(6693625.67217475, usa_ft.x());
assert_eq!(3497301.5918027232, usa_ft.y());
assert_relative_eq!(6693625.67217475, usa_ft.x());
assert_relative_eq!(3497301.5918027232, usa_ft.y(), epsilon=1e-8);
}

#[test]
Expand Down

0 comments on commit ccd2256

Please sign in to comment.