Gromacs
2026.0-dev-20250711-6857db4
|
Inherits TestWithParam< XdrSerializerTestParameters >.
Test XDR serialization works.
We want to be sure that XDR serialization works when reading and writing reals and rvecs from both double- and mixed-precision builds of GROMACS. The GROMACS XDR-file headers must write a value that describes the precision of the GROMACS that wrote the file, which provides clarity to a reader built in either precision as to what sizes of values it should expect to find in the XDR. In testing, we can direct either kind of GROMACS configuration to write as if it was either kind of configuration, and to read back natively.
Public Attributes | |
TestFileManager | fileManager_ |
std::filesystem::path | filename_ = fileManager_.getTemporaryFilePath("data.bin") |