Gromacs
2025.0-dev-20241014-f673b97
|
#include "gmxpre.h"
#include "gromacs/math/paddedvector.h"
#include <cstdint>
#include <memory>
#include <string>
#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/arrayref.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. | |