diff options
author | jbzdarkid <jbzdarkid@gmail.com> | 2018-11-07 09:26:42 -0800 |
---|---|---|
committer | jbzdarkid <jbzdarkid@gmail.com> | 2018-11-07 09:26:42 -0800 |
commit | 5ad08f6611c8c777c43cfa0d2380b6ad6554a54d (patch) | |
tree | e14b08857f15003bdeb47daca0dc5e741c033b94 /Test | |
parent | e762e48d6fbab7bd5137c369fa49df25ccd5369d (diff) | |
download | witness-tutorializer-5ad08f6611c8c777c43cfa0d2380b6ad6554a54d.tar.gz witness-tutorializer-5ad08f6611c8c777c43cfa0d2380b6ad6554a54d.tar.bz2 witness-tutorializer-5ad08f6611c8c777c43cfa0d2380b6ad6554a54d.zip |
Not sure what other feature work is valuable -- I'd rather work on exporting.
Diffstat (limited to 'Test')
-rw-r--r-- | Test/RandomTests.cpp | 1 | ||||
-rw-r--r-- | Test/Temp.cpp | 7 |
2 files changed, 6 insertions, 2 deletions
diff --git a/Test/RandomTests.cpp b/Test/RandomTests.cpp index a322752..a4fd410 100644 --- a/Test/RandomTests.cpp +++ b/Test/RandomTests.cpp | |||
@@ -7,7 +7,6 @@ TEST(RandomTests, RandomInRange) { | |||
7 | ASSERT_NE(random1, random2); | 7 | ASSERT_NE(random1, random2); |
8 | if (random1 > random2) std::swap(random1, random2); | 8 | if (random1 > random2) std::swap(random1, random2); |
9 | int random3 = Random::RandInt(random1, random2); | 9 | int random3 = Random::RandInt(random1, random2); |
10 | std::cout << random1 << " " << random2 << " " << random3 << std::endl; | ||
11 | ASSERT_GE(random3, random1); | 10 | ASSERT_GE(random3, random1); |
12 | ASSERT_LE(random3, random2); | 11 | ASSERT_LE(random3, random2); |
13 | } | 12 | } |
diff --git a/Test/Temp.cpp b/Test/Temp.cpp index 14f3bbf..c847c6b 100644 --- a/Test/Temp.cpp +++ b/Test/Temp.cpp | |||
@@ -8,7 +8,12 @@ GTEST_TEST(SwapTests, Shipwreck) { | |||
8 | int si1 = 0x00000022; | 8 | int si1 = 0x00000022; |
9 | int bu1 = 0x6; | 9 | int bu1 = 0x6; |
10 | int td1 = 0x5D; | 10 | int td1 = 0x5D; |
11 | int ypp = 0x33EA; | ||
12 | int ramp_activation_shapers = 0x21D5; | ||
13 | int mill_upper_5 = 0x146C; | ||
14 | int mill_entry_left = 0x1E5A; | ||
15 | int mill_upper_7 = 0x03686; | ||
11 | 16 | ||
12 | randomizer.SwapPanels(si1, td1, Randomizer::SWAP::LINES); | 17 | randomizer.SwapPanels(ypp, mill_upper_7, Randomizer::SWAP::LINES); |
13 | 18 | ||
14 | } | 19 | } |