Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
ZenoTan committed Apr 28, 2022
1 parent 86db049 commit cf29d02
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions test/csrc/random/test_rand_engine.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,7 @@ TEST(RandrealRandomTest, BasicAssertions) {
bucket_count[bucket]++;
}

// If max bucket count is 20% greater than min bucket count.
EXPECT_LT(1.0 * *std::max_element(bucket_count.begin(), bucket_count.end()),
1.2 * *std::min_element(bucket_count.begin(), bucket_count.end()));
}
Expand Down Expand Up @@ -154,9 +155,6 @@ TEST(RandrealValidTest, BasicAssertions) {
}

TEST(RandrealSeedTest, BasicAssertions) {
int64_t beg = 12345678;
int64_t end = 87654321;

at::manual_seed(147);
pyg::random::RandrealEngine<float> eng1;

Expand Down

0 comments on commit cf29d02

Please sign in to comment.