This is an automated email from the ASF dual-hosted git repository.

alsay pushed a commit to branch compressed_iterator
in repository https://gitbox.apache.org/repos/asf/datasketches-cpp.git


The following commit(s) were added to refs/heads/compressed_iterator by this 
push:
     new dea8d48  different starting points for pseudo-random sequences for 
more coverage
dea8d48 is described below

commit dea8d481cab8461f981e4edb5ab292936a87abff
Author: AlexanderSaydakov <[email protected]>
AuthorDate: Sun Jan 26 21:02:34 2025 -0800

    different starting points for pseudo-random sequences for more coverage
---
 theta/test/bit_packing_test.cpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/theta/test/bit_packing_test.cpp b/theta/test/bit_packing_test.cpp
index 0e0cf01..0094f9f 100644
--- a/theta/test/bit_packing_test.cpp
+++ b/theta/test/bit_packing_test.cpp
@@ -81,7 +81,7 @@ TEST_CASE("pack unpack blocks") {
 }
 
 TEST_CASE("pack bits unpack blocks") {
-  uint64_t value = 0xaa55aa55aa55aa55ULL; // arbitrary starting value
+  uint64_t value = 0; // arbitrary starting value
   for (int m = 0; m < 10000; ++m) {
     for (uint8_t bits = 1; bits <= 63; ++bits) {
       const uint64_t mask = (1ULL << bits) - 1;
@@ -106,7 +106,7 @@ TEST_CASE("pack bits unpack blocks") {
 }
 
 TEST_CASE("pack blocks unpack bits") {
-  uint64_t value = 0xaa55aa55aa55aa55ULL; // arbitrary starting value
+  uint64_t value = 111; // arbitrary starting value
   for (int m = 0; m < 10000; ++m) {
     for (uint8_t bits = 1; bits <= 63; ++bits) {
       const uint64_t mask = (1ULL << bits) - 1;


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to