Format first-party source according to .clang-format

This commit is contained in:
Pretty Printer
2020-04-17 09:56:34 -05:00
committed by manojsdoshi
parent 65dfc5d19e
commit 50760c6935
1076 changed files with 86161 additions and 77449 deletions

View File

@@ -17,11 +17,9 @@
*/
//==============================================================================
#include <ripple/beast/unit_test.h>
#include <test/csf/Histogram.h>
namespace ripple {
namespace test {
@@ -74,7 +72,7 @@ public:
BEAST_EXPECT(hist.numBins() == 2);
BEAST_EXPECT(hist.minValue() == 1);
BEAST_EXPECT(hist.maxValue() == 9);
BEAST_EXPECT(hist.avg() == 11/3);
BEAST_EXPECT(hist.avg() == 11 / 3);
BEAST_EXPECT(hist.percentile(0.0f) == hist.minValue());
BEAST_EXPECT(hist.percentile(0.5f) == 1);
BEAST_EXPECT(hist.percentile(0.9f) == 9);
@@ -84,5 +82,5 @@ public:
BEAST_DEFINE_TESTSUITE(Histogram, test, ripple);
} // test
} // ripple
} // namespace test
} // namespace ripple