Agora
1.2.0
Agora project
|
Unit tests for data type and bit-level conversions. More...
#include <gtest/gtest.h>
#include <bitset>
#include "comms-lib.h"
#include "datatype_conversion.h"
#include "utils_ldpc.h"
Functions | |
TEST (Modulation, adapt_bits_for_mod_one) | |
TEST (Modulation, adapt_bits_for_mod_stress) | |
TEST (SIMD, float_32_to_16) | |
TEST (SIMD, int16_to_float) | |
TEST (SIMD, int16_to_float_cplen) | |
TEST (SIMD, float_to_int_saturate) | |
int | main (int argc, char **argv) |
Variables | |
static constexpr size_t | kSIMDTestNum = 1024 |
Unit tests for data type and bit-level conversions.
int main | ( | int | argc, |
char ** | argv | ||
) |
TEST | ( | Modulation | , |
adapt_bits_for_mod_one | |||
) |
TEST | ( | Modulation | , |
adapt_bits_for_mod_stress | |||
) |
TEST | ( | SIMD | , |
float_32_to_16 | |||
) |
TEST | ( | SIMD | , |
float_to_int_saturate | |||
) |
TEST | ( | SIMD | , |
int16_to_float | |||
) |
TEST | ( | SIMD | , |
int16_to_float_cplen | |||
) |
|
staticconstexpr |