Apply clang-format to source tree
[alexxy/gromacs.git] / src / gromacs / gmxpreprocess / tests / gpp_bond_atomtype.cpp
index 6e1685284ae6c28c6319d647ca604b6eae3d5d6c..1f15b41d7dd03371fda2eed6e63c167ac236463e 100644 (file)
 
 class PreprocessingBondAtomTypeTest : public ::testing::Test
 {
-    public:
-        PreprocessingBondAtomTypeTest()
-        {
-            open_symtab(&symtab_);
-        }
-
-        int addType(const char *name);
-
-        ~PreprocessingBondAtomTypeTest() override
-        {
-            done_symtab(&symtab_);
-        }
-    protected:
-        PreprocessingBondAtomType bat_;
-        t_symtab                  symtab_;
+public:
+    PreprocessingBondAtomTypeTest() { open_symtab(&symtab_); }
+
+    int addType(const char* name);
+
+    ~PreprocessingBondAtomTypeTest() override { done_symtab(&symtab_); }
+
+protected:
+    PreprocessingBondAtomType bat_;
+    t_symtab                  symtab_;
 };
 
-int PreprocessingBondAtomTypeTest::addType(const char *name)
+int PreprocessingBondAtomTypeTest::addType(const charname)
 {
-    return bat_.addBondAtomType(&symtab_,
-                                name);
+    return bat_.addBondAtomType(&symtab_, name);
 }
 
 TEST_F(PreprocessingBondAtomTypeTest, EmptyOnCreate)