aboutsummaryrefslogtreecommitdiff
path: root/test/unit/proj_errno_string_test.cpp
diff options
context:
space:
mode:
authorEven Rouault <even.rouault@spatialys.com>2018-11-24 11:01:11 +0100
committerEven Rouault <even.rouault@spatialys.com>2018-11-29 00:35:25 +0100
commitc57e293fbf2b79a24519c70d558e1268515a9ee6 (patch)
treefd320a1cd589a3880fe14ab2a197e1a7fbb02cf5 /test/unit/proj_errno_string_test.cpp
parenta66c12277666489cac74535bad8d2cf565ad542d (diff)
downloadPROJ-c57e293fbf2b79a24519c70d558e1268515a9ee6.tar.gz
PROJ-c57e293fbf2b79a24519c70d558e1268515a9ee6.zip
Reformat test .cpp files
Diffstat (limited to 'test/unit/proj_errno_string_test.cpp')
-rw-r--r--test/unit/proj_errno_string_test.cpp18
1 files changed, 10 insertions, 8 deletions
diff --git a/test/unit/proj_errno_string_test.cpp b/test/unit/proj_errno_string_test.cpp
index 92840d34..dcdff5c4 100644
--- a/test/unit/proj_errno_string_test.cpp
+++ b/test/unit/proj_errno_string_test.cpp
@@ -34,18 +34,20 @@
namespace {
-TEST(ProjErrnoStringTest, NoError) {
- EXPECT_EQ(0, proj_errno_string(0));
-}
+TEST(ProjErrnoStringTest, NoError) { EXPECT_EQ(0, proj_errno_string(0)); }
TEST(ProjErrnoStringTest, ProjErrnos) {
EXPECT_STREQ("no arguments in initialization list", proj_errno_string(-1));
- EXPECT_STREQ("invalid projection system error (-1000)", proj_errno_string(-1000));
- EXPECT_STREQ("invalid projection system error (-9999)", proj_errno_string(-9999));
+ EXPECT_STREQ("invalid projection system error (-1000)",
+ proj_errno_string(-1000));
+ EXPECT_STREQ("invalid projection system error (-9999)",
+ proj_errno_string(-9999));
// for errnos < -9999, -9999 is always returned
const int min = std::numeric_limits<int>::min();
- EXPECT_STREQ("invalid projection system error (-9999)",proj_errno_string(min));
- EXPECT_STREQ("invalid projection system error (-9999)", proj_errno_string(-10000));
+ EXPECT_STREQ("invalid projection system error (-9999)",
+ proj_errno_string(min));
+ EXPECT_STREQ("invalid projection system error (-9999)",
+ proj_errno_string(-10000));
}
TEST(ProjErrnoStringTest, SystemErrnos) {
@@ -65,4 +67,4 @@ TEST(ProjErrnoStringTest, SystemErrnos) {
#endif
}
-} // namespace
+} // namespace