summaryrefslogtreecommitdiff
path: root/tests/cxx/t-ops2.cc
diff options
context:
space:
mode:
authorRichard Maw <richard.maw@codethink.co.uk>2012-01-19 10:33:31 +0000
committerRichard Maw <richard.maw@codethink.co.uk>2012-01-19 10:33:31 +0000
commit29137c6ff7a9e370e2332d855ab46616ad4e9cc9 (patch)
treefbca7aa7cfa645df1b059aeba7e81739620b013c /tests/cxx/t-ops2.cc
parent962de8d4b353178d38c2c70e952944686b9fd47b (diff)
parent2c033efc02631f22e6e180ce737a2faf81b09ccc (diff)
downloadgmp-29137c6ff7a9e370e2332d855ab46616ad4e9cc9.tar.gz
Merge branch 'master' into baserock/morph
Diffstat (limited to 'tests/cxx/t-ops2.cc')
-rw-r--r--tests/cxx/t-ops2.cc40
1 files changed, 20 insertions, 20 deletions
diff --git a/tests/cxx/t-ops2.cc b/tests/cxx/t-ops2.cc
index 9a6e7e020..4967ed208 100644
--- a/tests/cxx/t-ops2.cc
+++ b/tests/cxx/t-ops2.cc
@@ -148,18 +148,18 @@ void checkqf (){
CHECK_SI(T,0,3,*);
CHECK_ALL_COMPARISONS(T,5.,2);
CHECK_ALL_SIGNS_COMPARISONS(T,11.,3);
- CHECK_MPZ(T,5,-2,<);
- CHECK_MPZ(T,5,-2,>);
+ CHECK_MPZ(T,5,-2,<);
+ CHECK_MPZ(T,5,-2,>);
CHECK_MPZ(T,5,-2,<=);
CHECK_MPZ(T,5,-2,>=);
CHECK_MPZ(T,5,-2,==);
CHECK_MPZ(T,5,-2,!=);
- CHECK_MPZ(T,0,0,<);
- CHECK_MPZ(T,0,0,>);
- CHECK_MPZ(T,0,0,<=);
- CHECK_MPZ(T,0,0,>=);
- CHECK_MPZ(T,0,0,==);
- CHECK_MPZ(T,0,0,!=);
+ CHECK_MPZ(T,0,0,<);
+ CHECK_MPZ(T,0,0,>);
+ CHECK_MPZ(T,0,0,<=);
+ CHECK_MPZ(T,0,0,>=);
+ CHECK_MPZ(T,0,0,==);
+ CHECK_MPZ(T,0,0,!=);
ASSERT_ALWAYS(T(6)<<2==6.*4);
ASSERT_ALWAYS(T(6)>>2==6./4);
ASSERT_ALWAYS(T(-13)<<2==-13.*4);
@@ -217,18 +217,18 @@ void checkf (){
CHECK_MPQ(mpf_class,-5.5,-2.25,-);
CHECK_MPQ(mpf_class,-5.5,-2.25,*);
CHECK_MPQ(mpf_class,-5.25,-0.5,/);
- CHECK_MPQ(mpf_class,5,-2,<);
- CHECK_MPQ(mpf_class,5,-2,>);
- CHECK_MPQ(mpf_class,5,-2,<=);
- CHECK_MPQ(mpf_class,5,-2,>=);
- CHECK_MPQ(mpf_class,5,-2,==);
- CHECK_MPQ(mpf_class,5,-2,!=);
- CHECK_MPQ(mpf_class,0,0,<);
- CHECK_MPQ(mpf_class,0,0,>);
- CHECK_MPQ(mpf_class,0,0,<=);
- CHECK_MPQ(mpf_class,0,0,>=);
- CHECK_MPQ(mpf_class,0,0,==);
- CHECK_MPQ(mpf_class,0,0,!=);
+ CHECK_MPQ(mpf_class,5,-2,<);
+ CHECK_MPQ(mpf_class,5,-2,>);
+ CHECK_MPQ(mpf_class,5,-2,<=);
+ CHECK_MPQ(mpf_class,5,-2,>=);
+ CHECK_MPQ(mpf_class,5,-2,==);
+ CHECK_MPQ(mpf_class,5,-2,!=);
+ CHECK_MPQ(mpf_class,0,0,<);
+ CHECK_MPQ(mpf_class,0,0,>);
+ CHECK_MPQ(mpf_class,0,0,<=);
+ CHECK_MPQ(mpf_class,0,0,>=);
+ CHECK_MPQ(mpf_class,0,0,==);
+ CHECK_MPQ(mpf_class,0,0,!=);
}
int