Skip to content

Commit

Permalink
Fixed formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
ricemaking committed Nov 5, 2024
1 parent 43286e7 commit a8de6bc
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions tests/util/RandomTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,17 @@
using namespace util;

TEST_CASE("Test Standard Normal Distribution w/ different thread_ids", "[util][random]") {
double sample0 = stdn(0);
double sample1 = stdn(1);
double sample0 = stdn(0);
double sample1 = stdn(1);

// samples should be different
REQUIRE(sample0 != sample1);
// samples should be different
REQUIRE(sample0 != sample1);
}

TEST_CASE("Test Get Normal Seed", "[util][random]") {
double seed1 = getNormalSeed();
double seed2 = getNormalSeed();
double seed1 = getNormalSeed();
double seed2 = getNormalSeed();

// seeds should be the same
REQUIRE(seed1 == seed2);
}
// seeds should be the same
REQUIRE(seed1 == seed2);
}

0 comments on commit a8de6bc

Please sign in to comment.