#include #include #include #include #include #include namespace xrpl::test { TEST(PayChannelEntryTests, Constructors) { EntryTestEnv e; SeqProxy const seq = SeqProxy::rawSequence(4); expectKeylet( e, keylet::payChannel(e.alice.id(), e.bob.id(), seq), "payChannel(src, dst, seq)", e.alice.id(), e.bob.id(), seq); // Source and destination are both AccountIDs, so the assertion above // only has teeth if their order matters. EXPECT_NE( keylet::payChannel(e.alice.id(), e.bob.id(), seq).key, keylet::payChannel(e.bob.id(), e.alice.id(), seq).key); } } // namespace xrpl::test