Test PaddedVector to ArrayRef conversion
authorPascal Merz <pascal.merz@me.com>
Tue, 4 Feb 2020 14:49:54 +0000 (09:49 -0500)
committerArtem Zhmurov <zhmurov@gmail.com>
Wed, 5 Feb 2020 19:04:06 +0000 (20:04 +0100)
commit4321ccf2adeb0fc3454ea409f275cff217248583
tree69fca4a6796ac92f0277ad40c015e41bc3219e51
parentb20af5d4f20c08779050db8b68d17c5995a1c54a
Test PaddedVector to ArrayRef conversion

This adds a few tests to the PaddedVector tests, making sure that
the various ways to create unpadded ArrayRefs are yielding equivalent
views.

This also fix a small bug in the copy assignment test.

Change-Id: If4317e81a1723739ac3b16fc255987d9f7193489
src/gromacs/math/tests/paddedvector.cpp
src/gromacs/math/tests/testarrayrefs.h