![]() |
PhoenixMock
1.8.7
Tools to split/merge/print mock used in Phoenix
|
#include "phoenix_random.h"
Include dependency graph for phoenix_random_impl.h:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Functions | |
| template<typename T > | |
| T | phoenix_getRandValue (const T &valInf, const T &valSup) |
| Get a random value between valInf and valSup. More... | |
| template<typename T > | |
| void | phoenix_setRandValue (T &val, const T &valInf, const T &valSup) |
| Set a random value between valInf and valSup. More... | |
| T phoenix_getRandValue | ( | const T & | valInf, |
| const T & | valSup | ||
| ) |
Get a random value between valInf and valSup.
| valInf | : lower value of uniform randomizer |
| valSup | : upper value of uniform randomizer |
Definition at line 31 of file phoenix_random_impl.h.
References phoenix_setRandValue().
Referenced by testRandom().
Here is the call graph for this function:
Here is the caller graph for this function:| void phoenix_setRandValue | ( | T & | val, |
| const T & | valInf, | ||
| const T & | valSup | ||
| ) |
Set a random value between valInf and valSup.
| [out] | val | : uniform random value between valInf and valSup |
| valInf | : lower value of uniform randomizer | |
| valSup | : upper value of uniform randomizer |
Definition at line 18 of file phoenix_random_impl.h.
Referenced by phoenix_getRandValue().
Here is the caller graph for this function: