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