mirror of
https://github.com/ton-blockchain/ton
synced 2025-03-09 15:40:10 +00:00
bugfixes + tonlib update
This commit is contained in:
parent
2f81361a02
commit
eecf05ca59
35 changed files with 734 additions and 193 deletions
|
@ -962,3 +962,11 @@ TEST(Misc, CancellationToken) {
|
|||
source = CancellationTokenSource{};
|
||||
CHECK(token4);
|
||||
}
|
||||
|
||||
TEST(Misc, Xorshift128plus) {
|
||||
Random::Xorshift128plus rnd(123);
|
||||
ASSERT_EQ(11453256657207062272ull, rnd());
|
||||
ASSERT_EQ(14917490455889357332ull, rnd());
|
||||
ASSERT_EQ(5645917797309401285ull, rnd());
|
||||
ASSERT_EQ(13554822455746959330ull, rnd());
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue