From ad2a58789aecff035a096b590646d96326e3ddea Mon Sep 17 00:00:00 2001 From: Patrik Buhring Date: Wed, 31 Jul 2024 22:03:27 -0400 Subject: [PATCH] Revert "Fix linestrip tests" This reverts commit 7077f8c9736cf43546cbe4d32a3b314ff18948e6. --- src/lib.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index f6de5c0..f2dffc8 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -2034,7 +2034,7 @@ mod tests { &mut buffer, ); - assert_eq!(buffer, &[0, 1, 2, 0]); + assert_eq!(buffer, &[0, 1, 2]); } #[test] @@ -2053,7 +2053,7 @@ mod tests { &mut buffer, ); - assert_eq!(buffer, &[6, 1, 2, 6, 3, 4, 6, 5, 0, 6]); + assert_eq!(buffer, &[6, 0, 5, 6, 4, 3, 6, 2, 1, 6]); } #[test] @@ -2074,7 +2074,7 @@ mod tests { assert_eq!( buffer, - &[9, 10, 11, 9, 0, 8, 9, 7, 11, 6, 5, 11, 4, 10, 3, 2, 10, 1, 9, 0] + &[9, 10, 11, 0, 8, 9, 7, 11, 6, 5, 11, 4, 10, 3, 2, 10, 1, 9] ); }