1#include <xrpl/protocol/Serializer.h>
3#include <gtest/gtest.h>
13 static constexpr auto kValues = std::to_array<std::int32_t>({
25 EXPECT_EQ(s.
size(), 4);
27 EXPECT_EQ(sit.geti32(), value);
33 static constexpr auto kValues = std::to_array<std::int64_t>({
45 EXPECT_EQ(s.
size(), 8);
47 EXPECT_EQ(sit.geti64(), value);
Slice slice() const noexcept
std::size_t size() const noexcept
Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.
TEST(FileUtilitiesTest, get_file_contents)