mod helpers;
mod mpool;
mod wallet;
#[derive(Debug, clap::Subcommand)]
pub enum TestsCommand {
Wallet(wallet::WalletTestCommand),
Mpool(mpool::MpoolTestCommand),
}
impl TestsCommand {
pub async fn run(self) -> anyhow::Result<()> {
match self {
Self::Wallet(cmd) => cmd.run().await,
Self::Mpool(cmd) => cmd.run().await,
}
}
}