AlexaClientSDK  3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
Classes | Functions | Variables
JitterUtilTest.cpp File Reference
#include <gtest/gtest.h>
#include "acsdkAssetsCommon/JitterUtil.h"
Include dependency graph for JitterUtilTest.cpp:

Classes

class  JitterUtilTest
 

Functions

static constexpr milliseconds DELAY_MS (1000)
 
 TEST_F (JitterUtilTest, jitterNeverFallsTest)
 
 TEST_F (JitterUtilTest, jitterNeverZeroTest)
 
 TEST_F (JitterUtilTest, expJitterAlwaysGreaterTest)
 

Variables

static const int NUMBER_OF_TRIES = 1000000
 
static const float FACTOR = 0.2
 

Function Documentation

◆ DELAY_MS()

static constexpr milliseconds DELAY_MS ( 1000  )
static

◆ TEST_F() [1/3]

TEST_F ( JitterUtilTest  ,
jitterNeverFallsTest   
)

◆ TEST_F() [2/3]

TEST_F ( JitterUtilTest  ,
jitterNeverZeroTest   
)

◆ TEST_F() [3/3]

TEST_F ( JitterUtilTest  ,
expJitterAlwaysGreaterTest   
)

Variable Documentation

◆ FACTOR

const float FACTOR = 0.2
static

◆ NUMBER_OF_TRIES

const int NUMBER_OF_TRIES = 1000000
static

AlexaClientSDK 3.0.0 - Copyright 2016-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0