entropy_ut.cpp 267 B

12345678910111213
  1. #include "entropy.h"
  2. #include <library/cpp/testing/unittest/registar.h>
  3. Y_UNIT_TEST_SUITE(TestEntropy) {
  4. Y_UNIT_TEST(TestSeed) {
  5. char buf[100];
  6. for (size_t i = 0; i < sizeof(buf); ++i) {
  7. Seed().LoadOrFail(buf, i);
  8. }
  9. }
  10. }