Kenji Arai / mbed-os_TYBLE16

Dependents:   TYBLE16_simple_data_logger TYBLE16_MP3_Air

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers randlibtest.cpp Source File

randlibtest.cpp

00001 /*
00002  * Copyright (c) 2016 ARM. All rights reserved.
00003  */
00004 #include "CppUTest/TestHarness.h"
00005 #include "test_randlib.h"
00006 
00007 TEST_GROUP(randLIB)
00008 {
00009     void setup() {
00010     }
00011 
00012     void teardown() {
00013     }
00014 };
00015 
00016 TEST(randLIB, test_randLIB_seed_random)
00017 {
00018     CHECK(test_randLIB_seed_random());
00019 }
00020 
00021 TEST(randLIB, test_randLIB_get_8bit)
00022 {
00023     CHECK(test_randLIB_get_8bit());
00024 }
00025 
00026 TEST(randLIB, test_randLIB_get_16bit)
00027 {
00028     CHECK(test_randLIB_get_16bit());
00029 }
00030 
00031 TEST(randLIB, test_randLIB_get_32bit)
00032 {
00033     CHECK(test_randLIB_get_32bit());
00034 }
00035 
00036 TEST(randLIB, test_randLIB_get_64bit)
00037 {
00038     CHECK(test_randLIB_get_64bit());
00039 }
00040 
00041 TEST(randLIB, test_randLIB_get_n_bytes_random)
00042 {
00043     CHECK(test_randLIB_get_n_bytes_random());
00044 }
00045 
00046 TEST(randLIB, test_randLIB_get_random_in_range)
00047 {
00048     CHECK(test_randLIB_get_random_in_range());
00049 }
00050 
00051 TEST(randLIB, test_randLIB_randomise_base)
00052 {
00053     CHECK(test_randLIB_randomise_base());
00054 }