MCPcopy Create free account
hub / github.com/ddnet/ddnet / TEST

Function TEST

src/test/secure_random_test.cpp:7–16  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5#include <gtest/gtest.h>
6
7TEST(SecureRandom, Fill)
8{
9 unsigned int Bits = 0;
10 while(~Bits)
11 {
12 unsigned int Random;
13 secure_random_fill(&Random, sizeof(Random));
14 Bits |= Random;
15 }
16}
17
18TEST(SecureRandom, Below1)
19{

Callers

nothing calls this directly

Calls 2

secure_random_fillFunction · 0.85
secure_rand_belowFunction · 0.85

Tested by

no test coverage detected