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