Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(676)

Unified Diff: runtime/vm/bigint_test.cc

Issue 2974233002: VM: Re-format to use at most one newline between functions (Closed)
Patch Set: Rebase and merge Created 3 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « runtime/vm/benchmark_test.cc ('k') | runtime/vm/bit_set_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/bigint_test.cc
diff --git a/runtime/vm/bigint_test.cc b/runtime/vm/bigint_test.cc
index 22300f4541df3ec23ac5a295f103a1f9b91abbc7..8ccf464e2e19589a8822be19b1fcdc466ee8ba20 100644
--- a/runtime/vm/bigint_test.cc
+++ b/runtime/vm/bigint_test.cc
@@ -64,7 +64,6 @@ TEST_CASE(BigintSmi) {
}
}
-
TEST_CASE(BigintInt64) {
const int64_t kValue = 100000000;
const int64_t kValue64 = kValue * kValue;
@@ -79,7 +78,6 @@ TEST_CASE(BigintInt64) {
EXPECT_EQ(kMinInt64, bigint.AsInt64Value());
}
-
TEST_CASE(BigintUint64) {
const Bigint& one = Bigint::Handle(Bigint::NewFromUint64(1));
EXPECT(one.FitsIntoInt64());
@@ -93,7 +91,6 @@ TEST_CASE(BigintUint64) {
EXPECT_EQ(kMaxUint64, back);
}
-
TEST_CASE(BigintDouble) {
Bigint& bigint = Bigint::Handle(Bigint::NewFromInt64(5));
EXPECT_EQ(5.0, bigint.AsDoubleValue());
@@ -226,7 +223,6 @@ TEST_CASE(BigintDouble) {
EXPECT_EQ(1.8446744073709553e+42, bigint.AsDoubleValue());
}
-
TEST_CASE(BigintHexStrings) {
Zone* zone = Thread::Current()->zone();
{
@@ -407,7 +403,6 @@ TEST_CASE(BigintHexStrings) {
}
}
-
TEST_CASE(BigintDecStrings) {
Zone* zone = Thread::Current()->zone();
{
@@ -511,7 +506,6 @@ TEST_CASE(BigintDecStrings) {
}
}
-
static void TestBigintCompare(const char* a, const char* b, int compare) {
const Bigint& bigint_a = Bigint::Handle(Bigint::NewFromCString(a));
const Bigint& bigint_b = Bigint::Handle(Bigint::NewFromCString(b));
@@ -533,7 +527,6 @@ static void TestBigintCompare(const char* a, const char* b, int compare) {
}
}
-
TEST_CASE(BigintCompare) {
TestBigintCompare("0x0", "0x0", 0);
TestBigintCompare("0x1", "0x1", 0);
@@ -582,7 +575,6 @@ TEST_CASE(BigintCompare) {
TestBigintCompare("-0x10000000000000000", "0x0", -1);
}
-
TEST_CASE(BigintDecimalStrings) {
Zone* zone = Thread::Current()->zone();
{
« no previous file with comments | « runtime/vm/benchmark_test.cc ('k') | runtime/vm/bit_set_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698