Gromacs  2020.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Classes | Typedefs
paddedvector.cpp File Reference
#include "gmxpre.h"
#include "gromacs/math/paddedvector.h"
#include <memory>
#include <vector>
#include <gtest/gtest.h>
#include "gromacs/math/vec.h"
#include "gromacs/math/vectypes.h"
#include "gromacs/utility/alignedallocator.h"
#include "gromacs/utility/basedefinitions.h"
#include "gromacs/math/tests/testarrayrefs.h"
+ Include dependency graph for paddedvector.cpp:

Description

Tests implementation of gmx::PaddedVector.

In particular we need to check that the padding works, and that unpadded_end() is maintained correctly.

Author
Mark Abraham mark..nosp@m.j.ab.nosp@m.raham.nosp@m.@gma.nosp@m.il.co.nosp@m.m

Classes

class  gmx::test::PaddedVectorTest< T >
 Typed test fixture. More...
 

Typedefs

using gmx::test::Implementations = ::testing::Types< std::allocator< int32_t >, std::allocator< float >, std::allocator< double >, std::allocator< BasicVector< float >>, std::allocator< BasicVector< double >>, AlignedAllocator< int32_t >, AlignedAllocator< float >, AlignedAllocator< double >, AlignedAllocator< BasicVector< float >>, AlignedAllocator< BasicVector< double >>>
 The types used in testing.