summary refs log tree commit diff stats
path: root/Test/Foo.cpp
diff options
context:
space:
mode:
authorjbzdarkid <jbzdarkid@gmail.com>2018-11-05 08:15:23 -0800
committerjbzdarkid <jbzdarkid@gmail.com>2018-11-05 08:15:23 -0800
commita828620c6447e8c51f6e9d1767eabe0fc5ade0a0 (patch)
treece54393a34eb02ce5f801487f170d9c0d99bb66e /Test/Foo.cpp
parent1d1218aa855a0b7500c94d5017575855d646e1c4 (diff)
downloadwitness-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.cpp11
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
4TEST(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}