Gromacs
2024.4
|
#include "gmxpre.h"
#include "gromacs/math/paddedvector.h"
#include <memory>
#include <vector>
#include <gtest/gtest.h>
#include "gromacs/math/tests/testarrayrefs.h"
#include "gromacs/math/vec.h"
#include "gromacs/math/vectypes.h"
#include "gromacs/utility/alignedallocator.h"
#include "gromacs/utility/basedefinitions.h"
Tests implementation of gmx::PaddedVector.
In particular we need to check that the padding works, and that unpadded_end() is maintained correctly.
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. | |