Allow float shenanigans in test

This commit is contained in:
Dirkjan Ochtman 2021-05-20 21:45:58 +02:00
parent 2978ca7463
commit 99a473c298
1 changed files with 1 additions and 0 deletions

View File

@ -7,6 +7,7 @@ use rand::{Rng, SeedableRng};
use instant_distance::{Builder, Point as _, Search};
#[test]
#[allow(clippy::float_cmp, clippy::approx_constant)]
fn map() {
let points = (0..5)
.into_iter()