mirror of
https://github.com/XRPLF/rippled.git
synced 2026-09-27 15:28:03 +00:00
22 lines
533 B
C++
22 lines
533 B
C++
#include <xrpl/ledger/entries/AccountRootEntry.h>
|
|
|
|
#include <xrpl/protocol/Indexes.h>
|
|
|
|
#include <gtest/gtest.h>
|
|
#include <helpers/Account.h>
|
|
#include <ledger/EntryTestHelpers.h>
|
|
|
|
namespace xrpl::test {
|
|
|
|
TEST(AccountRootEntryTests, Constructors)
|
|
{
|
|
EntryTestEnv e;
|
|
|
|
expectKeylet<AccountRootEntry>(e, keylet::account(e.alice.id()), "account(id)", e.alice.id());
|
|
|
|
expectKeylet<AccountRootEntry>(
|
|
e, keylet::account(Account("nobody").id()), "account(id) absent", Account("nobody").id());
|
|
}
|
|
|
|
} // namespace xrpl::test
|