mango-v4/programs/mango-v4/tests/cases/mod.rs

34 lines
791 B
Rust

pub use anchor_lang::prelude::Pubkey;
pub use fixed::types::I80F48;
pub use fixed_macro::types::I80F48;
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 utils::assert_equal_fixed_f64 as assert_equal;
mod test_alt;
mod test_bankrupt_tokens;
mod test_basic;
mod test_benchmark;
mod test_borrow_limits;
mod test_delegate;
mod test_health_compute;
mod test_health_region;
mod test_ix_gate_set;
mod test_liq_perps;
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_serum;
mod test_token_update_index_and_rate;