diff options
author | rbuj <[email protected]> | 2021-10-27 17:48:15 +0200 |
---|---|---|
committer | raveit65 <[email protected]> | 2021-11-20 22:07:47 +0100 |
commit | 536f2a503bc2c961329359ac357a3d002acad37c (patch) | |
tree | f5526dc856ace6ca3e1b882e1ccada5e2d6875e4 /src/test-mp.c | |
parent | 5882467c0df5c919aacd76292687064734b0ac0e (diff) | |
download | mate-calc-536f2a503bc2c961329359ac357a3d002acad37c.tar.bz2 mate-calc-536f2a503bc2c961329359ac357a3d002acad37c.tar.xz |
Use a blank line at most
Diffstat (limited to 'src/test-mp.c')
-rw-r--r-- | src/test-mp.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/test-mp.c b/src/test-mp.c index 1a8c0d7..f367093 100644 --- a/src/test-mp.c +++ b/src/test-mp.c @@ -27,7 +27,6 @@ static int passes = 0; static void pass(const char *format, ...) __attribute__((format(printf, 1, 2))); static void fail(const char *format, ...) __attribute__((format(printf, 1, 2))); - static void pass(const char *format, ...) { /* va_list args; @@ -53,7 +52,6 @@ static void fail(const char *format, ...) fails++; } - static void print_number(MPNumber *x) { @@ -86,7 +84,6 @@ test_integer(int number) mp_clear(&t); } - static void test_numbers(void) { @@ -119,7 +116,6 @@ test_numbers(void) test_string("16384.00006103515625"); } - static void try(const char *string, bool result, bool expected) { @@ -129,7 +125,6 @@ try(const char *string, bool result, bool expected) pass("%s -> %s", string, result ? "true" : "false"); } - static void test_mp(void) { @@ -219,7 +214,6 @@ test_mp(void) mp_clear(&minus_one); } - int main (void) { |