From 8cc02cdd48e65ee24fd8360aed604ac0e8951d59 Mon Sep 17 00:00:00 2001 From: Lorenzo Mec-iS Date: Mon, 27 Jan 2025 23:43:42 +0000 Subject: [PATCH] fix test --- src/algorithm/neighbour/fastpair.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/algorithm/neighbour/fastpair.rs b/src/algorithm/neighbour/fastpair.rs index 3a6a4c1..568a29b 100644 --- a/src/algorithm/neighbour/fastpair.rs +++ b/src/algorithm/neighbour/fastpair.rs @@ -622,7 +622,8 @@ mod tests_fastpair { &[4.6, 3.4, 1.4, 0.3], &[5.0, 3.4, 1.5, 0.2], &[4.4, 2.9, 1.4, 0.2], - ]); + ]) + .unwrap(); let fastpair = FastPair::new(&x).unwrap(); let ordered = fastpair.ordered_pairs();