Commit ae06f6a 1 parent d7b0dd2 commit ae06f6a Copy full SHA for ae06f6a
File tree 1 file changed +14
-16
lines changed
1 file changed +14
-16
lines changed Original file line number Diff line number Diff line change @@ -122,22 +122,20 @@ TEST_CASE("mt19937_32x1024", "[CRC32]")
122
122
REQUIRE (Checksum == 0x25396D17 );
123
123
}
124
124
125
- // This seems to produce different results between debug/release...
126
- // Tue Oct 4 06:45:55 PM PDT 2022
127
- // TEST_CASE("mt19937_64x1024", "[CRC32]")
128
- // {
129
- // std::mt19937_64 MersenneTwister;
130
-
131
- // std::array<std::uint64_t, 1024> Data = {};
132
- // for( auto& CurValue : Data )
133
- // {
134
- // CurValue = MersenneTwister();
135
- // }
136
-
137
- // const std::uint32_t Checksum
138
- // = CRC::Checksum(std::as_bytes(std::span{Data}));
139
- // REQUIRE(Checksum == 0x46BD489B);
140
- // }
125
+ TEST_CASE (" mt19937_64x1024" , " [CRC32]" )
126
+ {
127
+ std::mt19937_64 MersenneTwister;
128
+
129
+ std::array<std::uint64_t , 1024 > Data = {};
130
+ for ( auto & CurValue : Data )
131
+ {
132
+ CurValue = MersenneTwister ();
133
+ }
134
+
135
+ const std::uint32_t Checksum
136
+ = CRC::Checksum (std::as_bytes (std::span{Data}));
137
+ REQUIRE (Checksum == 0x5fea271c );
138
+ }
141
139
142
140
TEST_CASE (" mt19937_32x797 (byte)" , " [CRC32]" )
143
141
{
You can’t perform that action at this time.
0 commit comments