aboutsummaryrefslogtreecommitdiffstats
path: root/util/random/entropy_ut.cpp
blob: 1ff27203f045816ee82e341afcef51d67fd9835e (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);
        }
    }
}