aboutsummaryrefslogtreecommitdiffstats
path: root/util/random/entropy_ut.cpp
blob: 61009c4701da47abb7d94e5dbc102d47cc84850d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
#include "entropy.h"

#include <library/cpp/testing/unittest/registar.h>

Y_UNIT_TEST_SUITE(TestEntropy) {
    Y_UNIT_TEST(TestSeed) {
        char buf[100];

        for (size_t i = 0; i < sizeof(buf); ++i) {
            Seed().LoadOrFail(buf, i);
        }
    }
} // Y_UNIT_TEST_SUITE(TestEntropy)