|
readonly List< int > | sampleList = new List<int>() { 1, 2, 3 } |
|
readonly List< int > | emptyList = new List<int>() { } |
|
Definition at line 7 of file RandomValueTests.cs.
◆ RVTestAllButOneIndicies()
void BGC.Tests.RandomValueTests.RVTestAllButOneIndicies |
( |
| ) |
|
|
inline |
Definition at line 33 of file RandomValueTests.cs.
37 Assert.IsTrue(rv == 2);
readonly List< int > sampleList
◆ RVTestEmptyList()
void BGC.Tests.RandomValueTests.RVTestEmptyList |
( |
| ) |
|
|
inline |
Definition at line 49 of file RandomValueTests.cs.
55 "Received list of length 0 which doesn't allow for random value, " +
56 "returning default value");
57 Assert.IsTrue(rv ==
default(
int));
readonly List< int > emptyList
◆ RVTestMaxIndicies()
void BGC.Tests.RandomValueTests.RVTestMaxIndicies |
( |
| ) |
|
|
inline |
Definition at line 13 of file RandomValueTests.cs.
19 "Recieved array of excludedIndicies that does not allow for any values to be returned, " +
20 "returning default value");
21 Assert.IsTrue(rv ==
default(
int));
readonly List< int > sampleList
◆ RVTestNoIndicies()
void BGC.Tests.RandomValueTests.RVTestNoIndicies |
( |
| ) |
|
|
inline |
Definition at line 41 of file RandomValueTests.cs.
45 Assert.IsTrue(rv > 0 && rv < 4);
readonly List< int > sampleList
◆ RVTestOutOfRangeIndicies()
void BGC.Tests.RandomValueTests.RVTestOutOfRangeIndicies |
( |
| ) |
|
|
inline |
Definition at line 25 of file RandomValueTests.cs.
27 int rv =
sampleList.RandomValue<
int>(-2, -1, 3, 4);
29 Assert.IsTrue(rv > 0 && rv < 4);
readonly List< int > sampleList
◆ emptyList
readonly List<int> BGC.Tests.RandomValueTests.emptyList = new List<int>() { } |
|
private |
◆ sampleList
readonly List<int> BGC.Tests.RandomValueTests.sampleList = new List<int>() { 1, 2, 3 } |
|
private |
The documentation for this class was generated from the following file: