summaryrefslogtreecommitdiffstats
path: root/c++/test
diff options
context:
space:
mode:
authorSean McBride <sean@rogue-research.com>2022-01-28 14:31:26 (GMT)
committerGitHub <noreply@github.com>2022-01-28 14:31:26 (GMT)
commit44de59b642c4d5ccf505a1072d10b63dc9fe0628 (patch)
tree619d965121f5f3f1f8c87f1e73267b233a234858 /c++/test
parent5fb634ca26ce165bb09c5c920f345e546251876c (diff)
downloadhdf5-44de59b642c4d5ccf505a1072d10b63dc9fe0628.zip
hdf5-44de59b642c4d5ccf505a1072d10b63dc9fe0628.tar.gz
hdf5-44de59b642c4d5ccf505a1072d10b63dc9fe0628.tar.bz2
Used clang-tidy to change all floating point f suffixes to F (#1359)
Diffstat (limited to 'c++/test')
-rw-r--r--c++/test/tattr.cpp2
-rw-r--r--c++/test/th5s.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/c++/test/tattr.cpp b/c++/test/tattr.cpp
index 26699d2..5627341 100644
--- a/c++/test/tattr.cpp
+++ b/c++/test/tattr.cpp
@@ -95,7 +95,7 @@ struct attr4_struct {
const H5std_string ATTR5_NAME("Attr5");
const int ATTR5_RANK = 0;
-float attr_data5 = -5.123f; // Test data for 5th attribute
+float attr_data5 = -5.123F; // Test data for 5th attribute
/* Info for another attribute */
const H5std_string ATTR1A_NAME("Attr1_a");
diff --git a/c++/test/th5s.cpp b/c++/test/th5s.cpp
index 5808136..461d258 100644
--- a/c++/test/th5s.cpp
+++ b/c++/test/th5s.cpp
@@ -73,7 +73,7 @@ struct space4_struct {
unsigned u;
float f;
char c2;
-} space4_data = {'v', 987123, -3.14f, 'g'}; /* Test data for 4th dataspace */
+} space4_data = {'v', 987123, -3.14F, 'g'}; /* Test data for 4th dataspace */
/* Null dataspace */
int space5_data = 7;