xrpld
Loading...
Searching...
No Matches
AccountRootEntry.cpp
1#include <xrpl/ledger/entries/AccountRootEntry.h>
2
3#include <xrpl/protocol/Indexes.h>
4
5#include <gtest/gtest.h>
6#include <helpers/Account.h>
7#include <ledger/EntryTestHelpers.h>
8
9namespace xrpl::test {
10
11TEST(AccountRootEntryTests, constructors)
12{
14
16
18 e, keylet::account(Account("nobody").id()), "account(id) absent", Account("nobody").id());
19}
20
21} // namespace xrpl::test
Scaffolding shared by the per-entry-type suites.
AccountID id() const
Returns the Account ID.
Keylet account(AccountID const &id) noexcept
AccountID root.
Definition Indexes.cpp:220
TEST(UnitsTest, types)
Definition Units.cpp:16
void expectKeylet(EntryTestEnv &e, Keylet const &expected, std::string const &what, Args const &... args)
Assert that both flavors of Entry built from args resolve the ledger object that expected names.