diff options
author | Laurent Napias <[email protected]> | 2019-06-29 10:49:33 +0200 |
---|---|---|
committer | raveit65 <[email protected]> | 2019-07-03 15:04:19 +0200 |
commit | d7195c1d58c93398efd3567ed69558b657e7b74b (patch) | |
tree | 2a37db47816a37eb01d95d5933de9c1e079ed599 /src/test-mp.c | |
parent | 87d647ad3be67c033dbb6aa80cfcdd4cbce3a42d (diff) | |
download | mate-calc-d7195c1d58c93398efd3567ed69558b657e7b74b.tar.bz2 mate-calc-d7195c1d58c93398efd3567ed69558b657e7b74b.tar.xz |
Remove trailing whitespaces
Diffstat (limited to 'src/test-mp.c')
-rw-r--r-- | src/test-mp.c | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/src/test-mp.c b/src/test-mp.c index 126b2df..fa7408f 100644 --- a/src/test-mp.c +++ b/src/test-mp.c @@ -1,6 +1,6 @@ /* * Copyright (C) 2008-2011 Robert Ancell. - * + * * This program is free software: you can redistribute it and/or modify it under * the terms of the GNU General Public License as published by the Free Software * Foundation, either version 2 of the License, or (at your option) any later @@ -144,11 +144,11 @@ static void test_mp() { MPNumber zero, one, minus_one; - + mp_set_from_integer(0, &zero); mp_set_from_integer(1, &one); mp_set_from_integer(-1, &minus_one); - + try("mp_is_zero(-1)", mp_is_zero(&minus_one), false); try("mp_is_zero(0)", mp_is_zero(&zero), true); try("mp_is_zero(1)", mp_is_zero(&one), false); @@ -183,17 +183,17 @@ test_mp() try("mp_is_equal(1, 0)", mp_is_equal(&one, &zero), false); try("mp_is_equal(1, 1)", mp_is_equal(&one, &one), true); - try("mp_is_greater_than(0, -1)", mp_is_greater_than (&zero, &minus_one), true); + try("mp_is_greater_than(0, -1)", mp_is_greater_than (&zero, &minus_one), true); try("mp_is_greater_than(0, 0)", mp_is_greater_than (&zero, &zero), false); try("mp_is_greater_than(0, 1)", mp_is_greater_than (&zero, &one), false); - try("mp_is_greater_than(1, -1)", mp_is_greater_than (&one, &minus_one), true); + try("mp_is_greater_than(1, -1)", mp_is_greater_than (&one, &minus_one), true); try("mp_is_greater_than(1, 0)", mp_is_greater_than (&one, &zero), true); try("mp_is_greater_than(1, 1)", mp_is_greater_than (&one, &one), false); - try("mp_is_greater_than(-1, -1)", mp_is_greater_than (&minus_one, &minus_one), false); + try("mp_is_greater_than(-1, -1)", mp_is_greater_than (&minus_one, &minus_one), false); try("mp_is_greater_than(-1, 0)", mp_is_greater_than (&minus_one, &zero), false); try("mp_is_greater_than(-1, 1)", mp_is_greater_than (&minus_one, &one), false); - try("mp_is_greater_equal(0, -1)", mp_is_greater_equal (&zero, &minus_one), true); + try("mp_is_greater_equal(0, -1)", mp_is_greater_equal (&zero, &minus_one), true); try("mp_is_greater_equal(0, 0)", mp_is_greater_equal (&zero, &zero), true); try("mp_is_greater_equal(0, 1)", mp_is_greater_equal (&zero, &one), false); try("mp_is_greater_equal(1, -1)", mp_is_greater_equal (&one, &minus_one), true); @@ -203,23 +203,23 @@ test_mp() try("mp_is_greater_equal(-1, 0)", mp_is_greater_equal (&minus_one, &zero), false); try("mp_is_greater_equal(-1, 1)", mp_is_greater_equal (&minus_one, &one), false); - try("mp_is_less_than(0, -1)", mp_is_less_than (&zero, &minus_one), false); + try("mp_is_less_than(0, -1)", mp_is_less_than (&zero, &minus_one), false); try("mp_is_less_than(0, 0)", mp_is_less_than (&zero, &zero), false); try("mp_is_less_than(0, 1)", mp_is_less_than (&zero, &one), true); - try("mp_is_less_than(1, -1)", mp_is_less_than (&one, &minus_one), false); + try("mp_is_less_than(1, -1)", mp_is_less_than (&one, &minus_one), false); try("mp_is_less_than(1, 0)", mp_is_less_than (&one, &zero), false); try("mp_is_less_than(1, 1)", mp_is_less_than (&one, &one), false); - try("mp_is_less_than(-1, -1)", mp_is_less_than (&minus_one, &minus_one), false); + try("mp_is_less_than(-1, -1)", mp_is_less_than (&minus_one, &minus_one), false); try("mp_is_less_than(-1, 0)", mp_is_less_than (&minus_one, &zero), true); try("mp_is_less_than(-1, 1)", mp_is_less_than (&minus_one, &one), true); - try("mp_is_less_equal(0, -1)", mp_is_less_equal (&zero, &minus_one), false); + try("mp_is_less_equal(0, -1)", mp_is_less_equal (&zero, &minus_one), false); try("mp_is_less_equal(0, 0)", mp_is_less_equal (&zero, &zero), true); try("mp_is_less_equal(0, 1)", mp_is_less_equal (&zero, &one), true); - try("mp_is_less_equal(1, -1)", mp_is_less_equal (&one, &minus_one), false); + try("mp_is_less_equal(1, -1)", mp_is_less_equal (&one, &minus_one), false); try("mp_is_less_equal(1, 0)", mp_is_less_equal (&one, &zero), false); try("mp_is_less_equal(1, 1)", mp_is_less_equal (&one, &one), true); - try("mp_is_less_equal(-1, -1)", mp_is_less_equal (&minus_one, &minus_one), true); + try("mp_is_less_equal(-1, -1)", mp_is_less_equal (&minus_one, &minus_one), true); try("mp_is_less_equal(-1, 0)", mp_is_less_equal (&minus_one, &zero), true); try("mp_is_less_equal(-1, 1)", mp_is_less_equal (&minus_one, &one), true); } |