Commit 043b3d29 authored by Mukund Sivaraman's avatar Mukund Sivaraman
Browse files

[2850] Make minor coding style fixes

parent b5cd0403
......@@ -81,7 +81,7 @@ TEST_F(UniformRandomIntegerGeneratorTest, IntegerRange) {
vector<int>::iterator it = unique(numbers.begin(), numbers.end());
// make sure the numbers are in range [min, max]
ASSERT_EQ(it - numbers.begin(), max() - min() + 1);
ASSERT_EQ(it - numbers.begin(), max() - min() + 1);
}
/// \brief Test Fixture Class for weighted random number generator
......@@ -98,7 +98,8 @@ public:
TEST_F(WeightedRandomIntegerGeneratorTest, Constructor) {
vector<double> probabilities;
// If no probabilities is provided, the smallest integer will always be generated
// If no probabilities is provided, the smallest integer will always
// be generated
WeightedRandomIntegerGenerator gen(probabilities, 123);
for (int i = 0; i < 100; ++i) {
ASSERT_EQ(gen(), 123);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment