#include "gmxpre.h"
#include "gromacs/utility/inmemoryserializer.h"
#include <gmock/gmock.h>
#include <gtest/gtest.h>
Tests for gmx::InMemorySerializer and InMemoryDeserializer.
- Author
- Christian Blau blau@.nosp@m.kth..nosp@m.se
|
|
constexpr std::int16_t | gmx::test::anonymous_namespace{inmemoryserializer.cpp}::c_int16Value = static_cast<std::int16_t>(0x7A2B) |
| Constants used for testing endian swap operations.
|
|
constexpr std::int16_t | gmx::test::anonymous_namespace{inmemoryserializer.cpp}::c_int16ValueSwapped = static_cast<std::int16_t>(0x2B7A) |
|
constexpr std::int32_t | gmx::test::anonymous_namespace{inmemoryserializer.cpp}::c_int32Value = static_cast<std::int32_t>(0x78ABCDEF) |
|
constexpr std::int32_t | gmx::test::anonymous_namespace{inmemoryserializer.cpp}::c_int32ValueSwapped = static_cast<std::int32_t>(0xEFCDAB78) |
|
constexpr std::int64_t | gmx::test::anonymous_namespace{inmemoryserializer.cpp}::c_int64Value = static_cast<std::int64_t>(0x78ABCDEF12345678) |
|
constexpr std::int64_t | gmx::test::anonymous_namespace{inmemoryserializer.cpp}::c_int64ValueSwapped = static_cast<std::int64_t>(0x78563412EFCDAB78) |
|
constexpr const IntAndFloat32 | gmx::test::anonymous_namespace{inmemoryserializer.cpp}::c_intAndFloat32 { c_int32Value } |
|
constexpr const IntAndFloat64 | gmx::test::anonymous_namespace{inmemoryserializer.cpp}::c_intAndFloat64 { c_int64Value } |
|
constexpr const IntAndFloat32 | gmx::test::anonymous_namespace{inmemoryserializer.cpp}::c_intAndFloat32Swapped { c_int32ValueSwapped } |
|
constexpr const IntAndFloat64 | gmx::test::anonymous_namespace{inmemoryserializer.cpp}::c_intAndFloat64Swapped { c_int64ValueSwapped } |
|