From c5cdc4c6246d9f82dbb58b03baf45199800efc4a Mon Sep 17 00:00:00 2001 From: Alfan Nur Fauzan Date: Mon, 23 Sep 2024 16:19:50 +0700 Subject: [PATCH] fix tests --- quranize/src/lib.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/quranize/src/lib.rs b/quranize/src/lib.rs index 416992b..46a3964 100644 --- a/quranize/src/lib.rs +++ b/quranize/src/lib.rs @@ -36,7 +36,7 @@ pub struct Quranize { } impl Quranize { - const EXPECTED_VERTEX_COUNT: usize = 126_327; + const EXPECTED_VERTEX_COUNT: usize = 126_330; /// Create a new [`Quranize`] instance. /// @@ -128,7 +128,7 @@ mod tests { let t = Quranize::new().tree; assert_eq!(t.vertices.len(), Quranize::EXPECTED_VERTEX_COUNT); assert_eq!(t.vertices.len(), t.edges.len() + 1); - assert_eq!(t.count_data(0), 77_883); - assert_eq!(t.collect_data(0).len(), 77_883); + assert_eq!(t.count_data(0), 77_885); + assert_eq!(t.collect_data(0).len(), 77_885); } }