Commit 7325ec0a authored by Jakub Klinkovský's avatar Jakub Klinkovský
Browse files

Small fixes in unit tests

parent b4c848d7
Loading
Loading
Loading
Loading
+2 −6
Original line number Diff line number Diff line
@@ -20,9 +20,7 @@ using RealType = double;
using Device = Devices::Host;
using IndexType = int;

// FIXME: Traverser does not work with Id = void
//class TestQuadrilateralMeshConfig : public DefaultConfig< Topologies::Quadrilateral >
class TestQuadrilateralMeshConfig : public DefaultConfig< Topologies::Quadrilateral, 2, double, int, int >
class TestQuadrilateralMeshConfig : public DefaultConfig< Topologies::Quadrilateral >
{
public:
   static constexpr bool entityStorage( int dimensions ) { return true; }
@@ -31,9 +29,7 @@ public:
   template< typename EntityTopology > static constexpr bool superentityStorage( EntityTopology, int SuperentityDimensions ) { return true; }
};

// FIXME: Traverser does not work with Id = void
//class TestHexahedronMeshConfig : public DefaultConfig< Topologies::Hexahedron >
class TestHexahedronMeshConfig : public DefaultConfig< Topologies::Hexahedron, 3, double, int, int >
class TestHexahedronMeshConfig : public DefaultConfig< Topologies::Hexahedron >
{
public:
   static constexpr bool entityStorage( int dimensions ) { return true; }
+2 −2
Original line number Diff line number Diff line
@@ -8,7 +8,7 @@
#if (defined(HAVE_GTEST) && defined(HAVE_MPI))
#include <TNL/Communicators/MpiCommunicator.h>
#include <TNL/Communicators/ScopedInitializer.h>
using CommunicatorType = Communicators::MpiCommunicator;
using CommunicatorType = TNL::Communicators::MpiCommunicator;

#include <sstream>

@@ -58,7 +58,7 @@ int main( int argc, char* argv[] )
      delete listeners.Release(listeners.default_result_printer());
      listeners.Append(new MinimalistBufferedPrinter);

      Communicators::ScopedInitializer< CommunicatorType > mpi(argc, argv);
      TNL::Communicators::ScopedInitializer< CommunicatorType > mpi(argc, argv);
   #endif
   return RUN_ALL_TESTS();
#else