diff options
author | jbzdarkid <jbzdarkid@gmail.com> | 2018-11-05 08:15:23 -0800 |
---|---|---|
committer | jbzdarkid <jbzdarkid@gmail.com> | 2018-11-05 08:15:23 -0800 |
commit | a828620c6447e8c51f6e9d1767eabe0fc5ade0a0 (patch) | |
tree | ce54393a34eb02ce5f801487f170d9c0d99bb66e /Test/Foo.cpp | |
parent | 1d1218aa855a0b7500c94d5017575855d646e1c4 (diff) | |
download | witness-tutorializer-a828620c6447e8c51f6e9d1767eabe0fc5ade0a0.tar.gz witness-tutorializer-a828620c6447e8c51f6e9d1767eabe0fc5ade0a0.tar.bz2 witness-tutorializer-a828620c6447e8c51f6e9d1767eabe0fc5ade0a0.zip |
moving stuff so I can test
Diffstat (limited to 'Test/Foo.cpp')
-rw-r--r-- | Test/Foo.cpp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/Test/Foo.cpp b/Test/Foo.cpp new file mode 100644 index 0000000..d9d155e --- /dev/null +++ b/Test/Foo.cpp | |||
@@ -0,0 +1,11 @@ | |||
1 | #include "gtest/gtest.h" | ||
2 | #include "Random.h" | ||
3 | |||
4 | TEST(Foo, Bar) { | ||
5 | int random1 = Random::RandInt(0, 1 << 30); | ||
6 | int random2 = Random::RandInt(0, 1 << 30); | ||
7 | ASSERT_NE(random1, random2); | ||
8 | int random3 = Random::RandInt(random1, random2); | ||
9 | ASSERT_GE(random3, random1); | ||
10 | ASSERT_LT(random3, random2); | ||
11 | } | ||