MCPcopy Create free account
hub / github.com/catboost/catboost / Y_UNIT_TEST

Function Y_UNIT_TEST

util/random/entropy_ut.cpp:9–15  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7
8Y_UNIT_TEST_SUITE(TestEntropy) {
9 Y_UNIT_TEST(TestSeed) {
10 char buf[100];
11
12 for (size_t i = 0; i < sizeof(buf); ++i) {
13 Seed().LoadOrFail(buf, i);
14 }
15 }
16
17 Y_UNIT_TEST(TestReset) {
18 UNIT_ASSERT_NO_EXCEPTION(ResetEntropyPool());

Callers

nothing calls this directly

Calls 5

ResetEntropyPoolFunction · 0.85
GetWorkPathFunction · 0.85
LoadOrFailMethod · 0.80
SeedFunction · 0.50
NameMethod · 0.45

Tested by

no test coverage detected