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