45 lines
1.1 KiB
Rust
45 lines
1.1 KiB
Rust
pub use anchor_lang::prelude::Pubkey;
|
|
pub use fixed::types::I80F48;
|
|
pub use itertools::Itertools;
|
|
pub use solana_program_test::*;
|
|
pub use solana_sdk::transport::TransportError;
|
|
|
|
pub use mango_setup::*;
|
|
pub use mango_v4::{error::MangoError, state::*};
|
|
pub use program_test::*;
|
|
|
|
pub use super::program_test;
|
|
|
|
pub use crate::assert_eq_f64;
|
|
pub use crate::assert_eq_fixed_f64;
|
|
|
|
mod test_alt;
|
|
mod test_bankrupt_tokens;
|
|
mod test_basic;
|
|
mod test_benchmark;
|
|
mod test_borrow_limits;
|
|
mod test_collateral_fees;
|
|
mod test_delegate;
|
|
mod test_fees_buyback_with_mngo;
|
|
mod test_force_close;
|
|
mod test_health_check;
|
|
mod test_health_compute;
|
|
mod test_health_region;
|
|
mod test_ix_gate_set;
|
|
mod test_liq_perps_bankruptcy;
|
|
mod test_liq_perps_base_and_bankruptcy;
|
|
mod test_liq_perps_force_cancel;
|
|
mod test_liq_perps_positive_pnl;
|
|
mod test_liq_tokens;
|
|
mod test_margin_trade;
|
|
mod test_perp;
|
|
mod test_perp_settle;
|
|
mod test_perp_settle_fees;
|
|
mod test_position_lifetime;
|
|
mod test_reduce_only;
|
|
mod test_replay;
|
|
mod test_serum;
|
|
mod test_stale_oracles;
|
|
mod test_token_conditional_swap;
|
|
mod test_token_update_index_and_rate;
|