Enable clang tidy/warnings for tests
[alexxy/gromacs.git] / src / gromacs / ewald / tests / pmebsplinetest.cpp
index 14308bb5ebe568531cf1ca68c634848677a1434e..7549d1aa23c9753216cc5b215ed7c46f6b1822fc 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * This file is part of the GROMACS molecular simulation package.
  *
- * Copyright (c) 2016,2017, by the GROMACS development team, led by
+ * Copyright (c) 2016,2017,2018, by the GROMACS development team, led by
  * Mark Abraham, David van der Spoel, Berk Hess, and Erik Lindahl,
  * and including many others, as listed in the AUTHORS file in the
  * top-level source directory and at http://www.gromacs.org.
@@ -142,7 +142,7 @@ const int       sanePmeOrder = 4;
 //! Sane grid size
 const IVec      saneGridSize = {32, 25, 47};
 /*! \brief Hand-picked invalid input for the exception tests */
-static std::vector<BSplineModuliInputParameters> const invalidInputs
+std::vector<BSplineModuliInputParameters> const invalidInputs
 {
     /* Invalid grid sizes */
     BSplineModuliInputParameters {
@@ -175,7 +175,7 @@ INSTANTIATE_TEST_CASE_P(InsaneInput, PmeBSplineModuliFailureTest, ::testing::Val
 /* Valid input instances */
 
 //! A couple of valid inputs for grid sizes. It is good to test both even and odd dimensions.
-static std::vector<IVec> const sampleGridSizes
+std::vector<IVec> const sampleGridSizes
 {
     IVec {
         64, 32, 64