diff options
Diffstat (limited to 'Test/RandomTests.cpp')
-rw-r--r-- | Test/RandomTests.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Test/RandomTests.cpp b/Test/RandomTests.cpp index a4fd410..20a86e5 100644 --- a/Test/RandomTests.cpp +++ b/Test/RandomTests.cpp | |||
@@ -32,4 +32,12 @@ TEST(RandomTests, SeedChangesInitialValue) { | |||
32 | int random3 = Random::RandInt(0, 1 << 30); | 32 | int random3 = Random::RandInt(0, 1 << 30); |
33 | ASSERT_NE(random3, random1); | 33 | ASSERT_NE(random3, random1); |
34 | ASSERT_NE(random3, random2); | 34 | ASSERT_NE(random3, random2); |
35 | } | ||
36 | |||
37 | TEST(RandomTests, EvenOdd) { | ||
38 | std::vector<int> outputs; | ||
39 | for (int i=0; i<100; i++) { | ||
40 | outputs.emplace_back(Random::RandInt(0, 1)); | ||
41 | } | ||
42 | int k = 0; | ||
35 | } \ No newline at end of file | 43 | } \ No newline at end of file |