mirror of
https://github.com/XRPLF/rippled.git
synced 2026-08-19 05:10:55 +00:00
16 lines
308 B
C++
16 lines
308 B
C++
#include <gtest/gtest.h>
|
|
#include <tx/wasm/RealHostFixture.h>
|
|
|
|
namespace xrpl::test {
|
|
|
|
struct ParentLedgerHashImpl : WasmImplTest
|
|
{
|
|
};
|
|
|
|
TEST_F(ParentLedgerHashImpl, MatchesLedger)
|
|
{
|
|
expectValue(makeHost()->getParentLedgerHash(), ledger.getOpenLedger().header().parentHash);
|
|
}
|
|
|
|
} // namespace xrpl::test
|