cosmwasm_std/testing/
mod.rs1#![cfg(not(target_arch = "wasm32"))]
2
3mod assertions;
7mod mock;
8mod shuffle;
9
10pub use assertions::assert_approx_eq_impl;
11#[cfg(test)]
12pub use assertions::assert_hash_works_impl;
13
14#[cfg(feature = "cosmwasm_1_3")]
15pub use mock::DistributionQuerier;
16#[cfg(feature = "staking")]
17pub use mock::StakingQuerier;
18pub use mock::{
19 digit_sum, mock_dependencies, mock_dependencies_with_balance, mock_dependencies_with_balances,
20 mock_env, mock_info, mock_wasmd_attr, BankQuerier, MockApi, MockQuerier,
21 MockQuerierCustomHandlerResult, MockStorage, MOCK_CONTRACT_ADDR,
22};
23#[cfg(feature = "stargate")]
24pub use mock::{
25 mock_ibc_channel, mock_ibc_channel_close_confirm, mock_ibc_channel_close_init,
26 mock_ibc_channel_connect_ack, mock_ibc_channel_connect_confirm, mock_ibc_channel_open_init,
27 mock_ibc_channel_open_try, mock_ibc_packet_ack, mock_ibc_packet_recv, mock_ibc_packet_timeout,
28};
29pub use shuffle::riffle_shuffle;